microsoft / microsoft/vscode-cmake-tools
Feature request: Configurable "launch" (and "debug"?) button
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by tracing the CMake Tools commands behind the play and bug icons and reading the existing cmake.debugConfig documentation or implementation. Compare the current debug and non-debug launch paths, including the requested cortex-debug flow. Done means users can configure build, flash, reset, and debug-launch behavior through a documented interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript
- Domain
- build-system, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100