A Ruby 2.0 debugger.
$ gem install byebug
or if you use bundler, drop
in your Gemfile
Wherever you want to start debugging, simply drop:
and the execution will stop and allow you to start debugging.
Everybody who has ever contributed to this forked and reforked piece of software, specially: