Panel | ||||
---|---|---|---|---|
|
Introduction
On this page, we will cover the following:
...
It is assumed the UIP Visual Studio Code Extension is already installed. See the previous document for installation instructions.
Step 1 - Development Environment Recommendations
In this and subsequent pages, Visual Studio Code will be running on Windows with the "Remote WSL extension" (WSL is Windows Subsytem for Linux). This set-up is essentially a Linux development environment running on Windows. This is not strictly required, as any platform that supports Visual Studio Code will work.
As mentioned in the previous page, the debugging functionality depends on the debugpy
PIP module. It is highly recommended to use a Python Virtual Environment to avoid dependency issues. See Using Python Environments in VS Code for using the Virtual Environment in Visual Studio Code.
Step 2 - Extract DebuggingDemo.zip
and Open the Contained Extension
Assuming DebuggingDemo.zip
has been downloaded from the previous page, go ahead and extract it to a known location (e.g. ~/dev
).
...
Now would be a good time to set up the virtual environment in VSCode.
Step 3 - Setting Up Initial Debugging Configuration for a dynamic_choice_command
To get started, click the “Run and Debug” icon on the activity bar, followed by a click on “UIP DEBUG CONFIGURATIONS”:
...
Info |
---|
Clicking the “star” icon sets |