vscode-ruby-debug icon indicating copy to clipboard operation
vscode-ruby-debug copied to clipboard

Exit code 127 error

Open sfelix1s opened this issue 5 years ago • 2 comments

Screen Shot 2020-02-13 at 5 09 31 PM

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).

sfelix1s avatar Feb 14 '20 01:02 sfelix1s

Exit code 127 seems to indicate that the extension was unable to find the readapt executable. Two things you can try:

  1. If your launch configuration sets "useBundler": true, make sure that readapt is installed in your Gemfile.
  2. You can use the debugger option to set an absolute path to the readapt executable, e.g., "debugger": "/path/to/readapt"

castwide avatar Mar 01 '20 20:03 castwide

This issue is only present when debugging via a "remote ssh" connection. Do you a plan to support "remote ssh" debug ?

jvmvik avatar Apr 03 '20 14:04 jvmvik