Is there any way to start the/a Ruby debugger whenever the code throws an exception, without me wrapping the code like this:
begin #do something rescue d
In RubyMine 2.0.x go to Run -> View Breakpoints and click "Ruby Exception Breakpoints" tab, then add the type of the exception you are interested in...
There should be something similar in NetBeans and other Ruby IDEs i guess.
BTW, RubyMine is the BEST!