From time to time, as a collaboration session host, you may find that you want to share a web application or other locally running servers or services with guests. Visual Studio and VS Code guests can then open a browser on the same localhost port to see the running application. Contribute to microsoft/vscode development by creating an account on GitHub. You can also access more VS Code Remote options by using the shortcut: CTRL+SHIFT+P in VS Code to bring up the command palette. To open a project from your WSL distribution, open the distribution's command line and enter: code. Open a WSL project in Visual Studio Code From the command-line.
However, to run a Node.js application, you will need to install the Node.js runtime on your machine.
Visual Studio Code has support for the JavaScript and TypeScript languages out-of-the-box as well as Node.js debugging. Node.js is the runtime and npm is the Package Manager for Node.js modules. Node.js is a platform for building fast and scalable server applications using JavaScript.