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
if you're using ruby-debug (and it looks like you are), you can set catchPoints for the exception you want.
(rdbg) catch Exception
for example