-
Notifications
You must be signed in to change notification settings - Fork 106
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
Debugger cannot start: ERR timeout after 1000 ms: Error: timeout after 1000 ms #114
Comments
@ctataryn thanks for this! So with the change in #115 you don't get the @jayjun do you know of any other workarounds we could use to avoid For reference #107 was originally created to improve the Copy Debug Info command: #70 (comment) |
The problem is there is no opportunity to return an error. Copy Debug Info is registered as globally available by However, you can conditionally enable it with a "commands": [
{
"command": "extension.copyDebugInfo",
"title": "ElixirLS: Copy Debug Info",
+ "when": "editorLangId == elixir"
}
] The drawback is users must be instructed to have an Elixir file opened to access that command, say before filing a bug report. |
That's correct. The commit before this one works, and everyone afterwards fails with the timeout. |
Okay, that seems like a good approach 👍 |
Fixed in #115 |
Environment
Most of this can be filled out by running the VSCode command (by default bound to Ctrl+Shift+P) "ElixirLS: Copy Debug Info"
Elixir & Erlang versions (elixir --version): Erlang/OTP 22 [erts-10.7] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1]
Elixir 1.9.4 (compiled with Erlang/OTP 20)
VSCode ElixirLS version: 0.4.0
Operating System Version: win32 10.0.18363
Troubleshooting
.elixir_ls
directory, then restart your editorCrash report template
After upgrading from v0.4.0 -> v0.5.0 debugging has stopped working. The Developer's Console states:
Using
git bisect
I was able to track it down to this specific commit:97066ce
My guess is, perhaps on Windows machines, the workspace scanner times things out? The strange thing is, even on a relatively empty project (i.e. generated from
mix phx.new myproj
) it still does this.The text was updated successfully, but these errors were encountered: