Open Sample Applications

Using Visual Studio Code, go to File -> Open Workspace from File... and select the if820_ezserial.code-workspace file.

Debug an Application

Determine the name of the configuration to launch by opening the launch.json file in Visual Studio Code.

The "program" field contains the name of the python sample.

The "name" field contains the name of the configuration to launch.

        {
            "name": "CYSPP BT900 -> IF820",
            "type": "python",
            "request": "launch",
            "program": "${workspaceFolder}/sample_cyspp_BT900-IF820.py",
            "console": "integratedTerminal",
            "justMyCode": true,
            "args": [
                "-cc",
                "${config:comport_BT900_device1}",
                "-d"
            ]
        },

In the "Run and Debug" window, select the name of the launch configuration determined above. Click the green play arrow button to start debugging the sample. Run and Debug

Status

Whether running or debugging a sample application, the status and debug information can be viewed from the TERMINAL window.

Terminal Window