Open iandol opened 4 years ago
It seems this is not currently possible, so I would like to make this a feature request. Thank you!
Note that the new debug gem: https://github.com/ruby/debug handles this perfectly. You can use require 'debug/open_nonstop'
and then use binding.break
to halt and wait for a connection. Then you can attach from a terminal or even via VS Code. More flexible than forcing code to be run from the debugger and less clunky than byebug.
I have a GUI app that runs a script, and I need to debug the script. The GUI does not provide a way to change the interpreter so I cannot run
rdebug-ide mycode.rb
. Byebug offers a way to remote debug by triggering the debug server from within the ruby code itself. Is there a way to do this with ruby-debug-ide?