Anyone had success getting ruby-debug to work with Locomotive? I've got the ruby-debug gem installed, and require 'ruby-debug' in my config file, but when I try to call the debugger from within a rails method, the app just blows right by it and nothing appears in the console. Any help with this would be appreciated.
on 2007-07-08 02:15
on 2007-07-08 05:52
If Locomotive is still using lighttpd, it won't work. The best way to do it AFAIK is just: rdebug script/server or if you have the debugger started in your code, just use: script/server
on 2007-07-08 08:28
on 2007-07-09 06:43
Locomotive now runs on Mongrel, so this shouldn't be a problem. Footnotes looks cool, but I need to be able to stop execution at a particular point and examine/change variables. I need a...uh...breakpointer. Anyone who knows how to get ruby-debug working w/ Locomotive, please speak up! I'm getting desperate here.
on 2007-07-09 07:51
Why is locomotive essential? Can't you start your app under webrick or mongrel for debugging? If you do that, it's straightforward: Just require 'ruby-debug' and just before where you want to stop, call the debugger method.