Supervisely +
VS Code Integration
Develop and debug Supervisely apps in Visual Studio Code against your team.
What it does
The developer portal’s app tutorials, from Hello World! to advanced debugging, use Visual Studio Code: you open an app’s repository in it and start the app from the Run and Debug panel with the configurations in .vscode/launch.json.
The advanced debugging mode goes further: it creates a debug app session in your Supervisely team, so you can open the app from the platform while it runs on your machine with breakpoints.
Supported workflows
- Run and debug apps locally with the provided launch configurations.
- Create a debug session in a Supervisely team and interact with the app from the platform.
- Debug the Supervisely SDK itself by linking a local clone into your project.
Setup overview
- Put your credentials in ~/supervisely.env.
- Clone the app repository, create its virtual environment and open it with code -r . (advanced mode also needs wireguard-tools).
- Set TEAM_ID in the Advanced mode for Supervisely Team configuration in .vscode/launch.json.
- Start debugging (F5) and open the app session in Supervisely.