-
Notifications
You must be signed in to change notification settings - Fork 42
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
VSCode debugger does not start #12
Comments
Hi, I have the exact same case with elixir installed via homebrew
ElixirLS output
Anything that could point to direction where to look for solution/explanation would be highly appreciated. |
Ok, I got it working with homebrew elixir 🎉 The issue was another debugger process running inside Atom. |
Debugger does not start in 0.2.2 (same symptoms). Tried with Elixir 1.5.2 and 1.6.0 master installed via Homebrew and kiex. |
I am having the same issues as well in VS Code 1.17.2. I am using homebrew and Elixir 1.6.0 pre |
Apologies everyone! This was a stupid bug I caused in the latest release. Please update the extension to 0.2.3 in the VS Code marketplace and that should fix it. It's hard to catch bugs in the launcher code with the ExUnit tests, since Mix starts the apps automatically in development. I'm working on more robust ways of packaging and launching the language server and debugger. |
@JakeBecker Fixed! Not stupid at all, appreciate your great work. |
@JakeBecker Thanks for looking into this. I am however having the exact same problems as before updating to version 0.2.3 (see the original issue report). Any ideas would be appreciated. |
@hjalet Unfortunately, asdf installs are plagued by a different problem. Right now, the debugger is packaged as an escript that doesn't embed Elixir, and then we use a shell script to locate your Elixir install and set This isn't a good way of packaging it, and I've nearly finished refactoring it to build a set of .ez archives instead. I'm closing this ticket but I'll create a new one for asdf installs. |
Here's the issue to track that: JakeBecker/elixir-ls#12 |
Hi,
I have a problem with debugging in vscode using elixir-ls. I have setup the launch.json config as described in your post:
I use elixir 1.4.5:
I suspect that it is somehow caused by the fact that I have installed
asdf
, since it has worked an an earlier point in time before I installed it.When trying to start the debugger it simply hangs and nothing happens. The debugger goes into wait mode, waiting for the launch action, but it simply stays there. The output from elixir ls does not provide much info I think:
Any good ideas would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: