microsoft / microsoft/vscode-cmake-tools

[Feature] Make "Run without debuggnig" configurable (for embedded dev)

Open
#4,904 0 comments 0 reactions 0 assignees Claimed by @hanniavalera View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Request Overview

The "Run without debugging" action just tries to execute the build artifact on host.

This makes it useless for embedded MCU development where the compilation artifact is a firmware file intended to be run on a microcontroller. To be run it needs to be written to MCU in a vendor-specific way.

Please make this action configurable, so that it can invoke a programmer to flash the firmware onto MCU. This is already working for debugging, where there is a "cmake.debugConfig" option that uses whatever debugging configuration the developer has configured.
Don't know what the ideal way to implement this would be, right now I use a custom task (defined in tasks.json) that invokes the programmer.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing cmake.debugConfig behavior and the custom task described in tasks.json, then compare them with the implementation of the "Run without debugging" action. Done means the action has a documented configuration path that can invoke an embedded programmer rather than only running a host artifact; linked PR #4916 should be checked first.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript, vscode
Domain
developer-experience, embedded-iot, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.