raspberrypi / pico-vscode

The official VS Code extension for Raspberry Pi Pico development. It includes several features to simplify project creation and deployment.
https://marketplace.visualstudio.com/items?itemName=raspberry-pi.raspberry-pi-pico
Mozilla Public License 2.0
131 stars 16 forks source link

Cannot select compile or debug target resulting in error #105

Closed AmeNote-Michael closed 1 month ago

AmeNote-Michael commented 1 month ago

Since loading latest VS Code with Pico Extension on my Mac, I cannot seem to figure out how to select a debug target in cmake files with multiple targets.

Seems only option is to create projects with single targets now.

What happened to selecting debug target or is this a VS Code thing?

will-v-pi commented 1 month ago

See the CMake Tools Extension Integration section of the readme - you will need to enable this to use CMake files with multiple targets, and then select what target to debug using the CMake Tools extension