Ruby on Rails
How To Use Arachno Ruby IDE with Rails

I have been debugging with full breakpoint and global/local variable inspection/modification in Arachno Ruby IDE with success by just starting WebBrick inside the IDE. I find it to be extremely straight forward and easy to setup:

This should startup WebBrick with debugging. Open up a controller and put a breakpoint somewhere (click in the margin). Using a browser, navigate to the controller with the breakpoint as usual (ie. localhost:3000/mycontroller).

Upon executing your controller with the breakpoint, Arachno Ruby should automatically show debug information in the Debuggee State window. If not, open up the Debuggee State window and select the thread in red from the drop down. If there is no thread in red then the breakpoint was not hit. Make sure it is on a line that will be executed and try again…

Comment from Vendor:

You can also use the “Fast Debugger Mode” when developing rails, in this mode the debugger is 50% faster but it will only show the top stackframe after a breakpoint is hit. But speed shouldn’t be any problem if you have a modern > 2 GHz system.

Comment from Kai:

With Arachno 0.7.4 you should rename or copy script/server to script/server.rb. I found this hint in the japanese wiki.