Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

Table of Contents
maxLevel3

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 efe1 as the default launch target. Once we add more configurations, setting a default will come in handy.


< Previous     Next >