Unfortunately Visual Studio Code doesn't find the runtime executable node
.
But the integrated terminal knows about node:
$ which node
/home/user/.asdf/shims/node
How can I introduce node
to Visual Studio Code without adding the runtime executable to the launch.json
explicitly?
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
[...]
"runtimeExecutable": "~/.asdf/shims/node" // <- want to avoid this
}
]
}