Read more about remote development support in VS Code https://code.visualstudio.com/docs/remote/remote-overview
-
Remote development feature is only available in Code Insiders. Make sure you have installed this version https://code.visualstudio.com/insiders/.
-
Install "Remote Development" extension from VS Code market place https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
DevSpace with Python v3.6
and NodeJS v12.3
for using as a remote development environment.
So that you can debug and run the application within your DevSpace using VS Code.
- Create your DevSpace by running
devspaces create
command from this directory. - Wait for DevSpace creation, then validation completion
- Run
devspaces start vscode-remote
command to start your DevSpace - Execute
./run.sh
script. This prepares the environment and opens VS Code - From VS Code open "Remote SSH" pane, which should show
devspace-vscode-remote
under the connections. - Click on the connect button, which will open a new VS Code window and you can open
/data
directory which is in your DevSpace to see the files.