-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exit code 1 #4
Comments
The most common cause of exit code 1 is that the program couldn't be found. If you're using something like rvm or rbenv, is it possible you switched to a version of Ruby that doesn't have the gem installed? |
I'll try to debug it a bit more, but I don't use rvm or rbenv. I just have stock ruby installed with pacman on arch, then all needed gems installed globally with Would it be the debugger program that couldn't be found? I will do a reboot, since I did an system upgrade since, but yesterday i literally just changed a debug statement in the code and since it wouldn't work anymore, so I'm a bit puzzled. |
Ok, I figured a workaround. There is a lingering This is probably unrelated, but I do get an error in the debug console:\
Don't really know where it's coming from, as all of my source files are valid UTF-8. My default locale is |
Yeah, that could be the problem. If it's making the server adapter hang, it might stop the process from exiting properly. Thanks for tracking it down. I'll look into it. |
Ran into the same situation. When something fails and |
Happened to me too, lost around an hour till I found this thread - thanks guys for the solution! |
@najamelan Thanks a lot!! Worked for me! |
I'm having the same issue, but only on GitHub Codespaces. Everything works fine at first, but restarting or stopping then starting the debug session results in either an exit code 1 error or the debug session briefly starting but Rails/Puma complaining about an existing Locally, using the Remote - Containers extension, restarting debug sessions works fine. |
Okay, I figured out the problem with Codespaces. It looks like something with how auto-forwarded ports does not play well with Readapt's TCP server. Turning off automatic port forwarding fixes the issue: // settings.json
{
"remote.autoForwardPorts": false
} |
@najamelan ran into the same problem. Thanks for the solution. |
Just gave it a try. At first it worked. I just wanted to run it again after I changed something in the code and ever since I get "Debugger exited without connecting (exit code 1)". I tried restarting vscode, but no avail.
Any idea what error code 1 is?
There is no output in any of the terminals. I don't use bundler.
The text was updated successfully, but these errors were encountered: