Debugging in ruby 1.9

ruby-debug19 is not maintained anymore. All the other answers are outdated.

But there’s an alternative:

debugger to the rescue!

Put this in your Gemfile:

gem 'debugger', group: [:development, :test]

It just works. – And it is included in the rails Gemfile since 3.2.something to replace ruby-debug19. It has the exact same functionality and is actively maintained.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)