On Sat, Feb 13, 2010 at 1:46 AM, Ralph Shnelvar
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:> Is it possible to get the debugger to run when initializers are being
> executed?
The -u option on script/server to turn on the debugger is too late,
since it doesn''t seem to bring the debugger in until after
initializers run.
but you should be able to do something like
rdebug script/server
which will give you control in the debugger at the beginning.
--
Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.