question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Configurable "launch" (and "debug"?) button

See original GitHub issue

It 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:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
vlebourlcommented, Jul 7, 2021

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!

1reaction
andreeiscommented, Jun 17, 2021

Adding two embedded experts: @benmcmorran and @robotdad.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found