NODE WAY FOR VSCODE 0.7.0 VERSION
I am running Ubuntu GNU / Linux 12.04.5 LTS. Before VSCode 0.7.0, I would leave my default node path found in 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 upgrading to 0.7.0, I started getting errors 'can't find runtime on "node" PATH' , although 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 .json run 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 everything is working fine. The actual path is /usr/bin/ , and the executable is node .
source share