# Debugging a forked process

**URL:** <https://www.ruby-forum.com/t/debugging-a-forked-process/168583>\
**Category:** Ruby\
**Created:** [May 22, 2009, 5:42pm UTC](https://www.ruby-forum.com/t/debugging-a-forked-process/168583 "2009-05-22T17:42:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![byrnejb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Post date:** [May 22, 2009, 5:42pm UTC](https://www.ruby-forum.com/t/debugging-a-forked-process/168583/1 "2009-05-22T17:42:27Z")

</div>

Given a rake task like this:

begin  
require ‘gem/rake/task’

Gem::Rake::Task.new(:doit) do |t|  
t.fork = true  
end

How would one go about tracing where the value of $LOAD\_PATH is  
set/changed in the forked interpreter?
