vscode-ruby-debug
vscode-ruby-debug copied to clipboard
Exit code 127 error
While in vs code:
- open the ruby file so that it is active
- select the play arrow with "Active File" text to initiate the run and debug feature
- it specifies: Debugger existed without connecting (exit code 127)
I don't receive any run/debug information just the error message window appears (See attachment).
Exit code 127 seems to indicate that the extension was unable to find the readapt executable. Two things you can try:
- If your launch configuration sets
"useBundler": true, make sure thatreadaptis installed in your Gemfile. - You can use the
debuggeroption to set an absolute path to thereadaptexecutable, e.g.,"debugger": "/path/to/readapt"
This issue is only present when debugging via a "remote ssh" connection. Do you a plan to support "remote ssh" debug ?