My goal is to make Windows 10 + WSL a development platform for doing *IX style programming as good as what I've had on OSX for the last several years. I'm also trying new things along the way, including this new-fangled VS Code.
- With WSL + Ubuntu I installed the
nodejspackage. - I create a "Hello World" in VS Code using JavaScript
- I run the debug command
Cannot find runtime 'node' on PATH. Make sure to have 'node' installed.
Hrm. OK. I'm prompted to open up launch.json or close.
So I thought as a workaround to try adding an alias for node to nodejs.
I restarted VS Code, tried the same process, same failure.
I then tried a symlink between /usr/bin/node to /usr/bin/nodejs. Same error.
I would think this a pretty standard use case in the post-WSL era, but I've not found a canonical implementation nor have I seen "That's impossible!" so, here we are :)