microsoft / microsoft/vscode-cmake-tools

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

Open
#1,937 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

embedded enhancement Feature: debug/launch stale-exempt
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.