Ruby finally upgraded to 2.4.0
The editor used is vscode 1.9.
Gem has debug-ide installed, but why do I still report bugs in code?
Just one sentence. Really?
Paste the error reporting code
/Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
/Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
/Users/jason/.rvm/gems/ruby-2.4.0/gems/ruby-debug-ide-0.6.1.beta3/lib/ruby-debug-ide.rb:91:in `debug_load': cannot load such file -- /Users/jason/Downloads/Study/main.rb (LoadError)
from /Users/jason/.rvm/gems/ruby-2.4.0/gems/ruby-debug-ide-0.6.1.beta3/lib/ruby-debug-ide.rb:91:in `debug_program'
from /Users/jason/.rvm/gems/ruby-2.4.0/gems/ruby-debug-ide-0.6.1.beta3/bin/rdebug-ide:157:in `<top (required)>'
from /Users/jason/.rvm/gems/ruby-2.4.0/bin/rdebug-ide:22:in `load'
from /Users/jason/.rvm/gems/ruby-2.4.0/bin/rdebug-ide:22:in `<main>'
from /Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
from /Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
Debugger error: Client: Error: read ECONNRESET
Ask for advice from the old driver!
I see.
~Ha ha haThe conclusion is that the working directory is wrong. Rb cannot be found. The debug configuration file of vscode needs to change the working path or open to the working directory.