How to debug ruby on rails code using IDE?

Hi All,

Please let me know there any ide for debug rails code.



If you’re are using vscode debugger, should be enough to install

gem install ruby-debug-ide
gem install debase -v 0.2.5.beta2

You should be able to set breakpoints

1 Like

RubyMine is free for 30 days from JetBrains, it’s my go-to IDE and has an interactive debugger.


pry is an interactive Ruby shell (or “REPL”), which can be used as a debugger (best combined with the pry-nav and pry-stack_explorer gems). It has a lot of features which make it much nicer to use than the debugger gem. For general exploration and experimentation with Ruby code, it’s also nicer to use than irb.