NODE PATH FOR VSCODE VERSION 0.7.0
I'm running Ubuntu GNU/Linux 12.04.5 LTS. Before VSCode 0.7.0 I would leave my node path to the default found on the PATH in the launch.json file:
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
"runtimeExecutable": null,
However, after the update to 0.7.0, I started receiving 'can't find runtime on "node" PATH'
errors even though node was on my PATH.
18:25:37 ツ gjsmith3rd@DV7:~
$echo $PATH
/usr/bin:...//Plus the rest of the PATH
18:25:44 ツ gjsmith3rd@DV7:~
18:21:36 ツ gjsmith3rd@DV7:~
$which node
/usr/bin/node
18:21:43 ツ gjsmith3rd@DV7:~
I changed my launch.json to:
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
"runtimeExecutable": "/user/bin/node",
Now all is working fine. The actual path is /usr/bin/
and the executable is node
.