ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
370 stars 83 forks source link

Possible to debug code in changed files after issuing reload! in console? #176

Closed breathe closed 4 years ago

breathe commented 4 years ago

Hi -- I'm debugging rails app's by launching the rails console like this on a remote server:

rdebug-ide --host 127.0.0.1 --port 9898 -- bin/rails console

I attach my ide to above and things work great. I can interact with code from the console with exactly the debugging experience I want.

What I'd like to do tho is to be able to edit code on the filesystem -- I make the edit on both my host and on the remote host -- then issue reload! in the rails console. I would then like to be able to stop on breakpoints in the reloaded code -- is that possible somehow?