Feature request: Configurable "launch" (and "debug"?) button
See original GitHub issueIt would be useful to be able to configure the CMake-Tools “play” icon launch button and the “bug” icon debug button. In my case I’m working with ARM microcontrollers, and I’d like to be able to press one button to build, flash, and reset the board. I’d also like to have similar functionality for debugging that builds, flashes, and then launches cortex-debug.
Perhaps the debug configuration is already included as part of cmake.debugConfig, but the documentation is currently unavailable. (The documentation issue is mentioned in #1936 and is now a work item in #1246). I do not see any way to configure how CMake-Tools performs a non-debug launch, though.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Debugging in Visual Studio Code
The Debug: Run (Start Without Debugging) action is triggered with Ctrl+F5 and uses the currently selected launch configuration. Many of the launch configuration...
Read more >Change the "Run and Debug" View's "Play" icon to a ... - GitHub
The "Play" icon is part of a button which has a stable UI for a long time. It means "start one or more...
Read more >Debugging
This feature uses a launch request type configuration. ... In this mode, the Go extension will start the debug session by building and...
Read more >Configuration options for debugging serverless applications
Learn about the options for configuring the AWS Toolkit for Visual Studio Code debugging experience for serverless applications.
Read more >Run/debug configurations | IntelliJ IDEA Documentation
Learn how to use run configurations to run/debug your code in IntelliJ IDEA with various startup properties.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, sorry to intrude, but I’m very interested in the first feature request. In my case, lot of targets I have require specific command line arguments. I know I can write a launch.json entry for each of them, but it kind of defeats the purpose of that easy access bug button. Do you have another easy way to do that besides a launch entry? So count my vote in for that feature!
Adding two embedded experts: @benmcmorran and @robotdad.