Replies: 1 comment 1 reply
-
@WardenGnaw is this something that needs to be fixed in our debug provider implementation, or is it a VS Code issue? (i.e. do you just pass this info down to them?) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am working with a Node.js C++ addon and struggling to set up launch.json to debug C++ and Javascript at the same time. On Windows I have already done it with the debugger "cppvsdbg" launching the program "node" (node.exe, in $PATH).
As you can see in the launch.json configuration below, on Linux I am forced to add a special configuration, first of all for the different debugger "cppdbg", which is ok, but also for the program to launch, in this case "${workspaceRoot}/node", which is a link I created to the node executable, because it does not recognize "program": "node", even though it is also in $PATH.
If I try to launch "program": "node" in Linux I get a dialog with the following error: "launch: program "node" does not exist".
Do you know why "program": "node" is not recognized as an executable in Linux? I have already checked that
$ node
works in the terminal.It would be great if there was some workaround, because we could have a uniform configuration for both Linux and Windows, and avoid creating the link to the node executable.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions