From there, you can select your Azure subscription and create a new resource group, if you don't already have one. In the Azure portal, search for 'Virtual Machines', and choose Add. If you don't have an existing Linux virtual machine, you can create a new VM through the Azure portal. The Remote Status bar item can quickly show you in which context VS Code is running (local or remote) and clicking on the item will bring up the Remote - SSH commands. With the Remote - SSH extension installed, you will see a new Status bar item at the far left. The Remote - SSH extension is used to connect to SSH hosts.
To get started, you need to have done the following steps:
Note: Your Linux VM can be hosted anywhere - on your local host, on premise, in Azure, or in any other cloud, as long as the chosen Linux distribution meets these prerequisites. You'll create a Node.js Express web app to show how you can edit and debug on a remote machine with VS Code just like you could if the source code was local. This tutorial walks you through creating and connecting to a virtual machine (VM) on Azure using the Visual Studio Code Remote - SSH extension.
Configure IntelliSense for cross-compiling.