I run Ubuntu 10.10. I just want to debug a simple script. After spending half a day trying to figure out how that could be done I give up. What the heck am I supposed to do?
In Ruby:
ruby -rdebug myscript.rb then,
In Rails: Launch the server with
script/server --debugger
and add debugger in the code.