ideprize
New to Elixir, new to vs code but not coding. I am trying to get the debugger in vs code working with Elixir. I have installed the extension ElixirLS version v0.17.1 and I am able to write code and execute from the integrated terminal provided by vs code. When I try to run and debug in the vs code window it complains about the “type: elixir”, command in the launch.json file stating that it is not a supported type? According to chatGPT what I have should “fly” but it doesn’t. Please see below the complete launch.json
{
“version”: “0.2.0”,
“configurations”: [
{
“name”: “Elixir Debug”,
“type”: “elixir”,
“request”: “launch”,
“program”: “${c:/Users/Gordon/servy}/lib/servy.ex”,
“cwd”: “${c:/Users/Gordon/servy}”,
“args”: ,
“runtimeArgs”: [
“–sname”,
“debug@localhost”
],
“console”: “integratedTerminal”,
“stopOnEntry”: false,
“internalConsoleOptions”: “neverOpen”
}
]
}
Any insight provided will be greatly appreciated.
Respectfully,
Ideprize
Trending in Questions
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #elixirconf-us
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 1- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
a-maze-d
Not quite the same as what you might be looking for, but the following works for me
Note this will launch your default application, for that you should create an
application.exthat looks something like this (give the name you like and make the call to the function that starts your application:and register your Application in your
mix.exsunder (use the same name you used above):