microsoft / microsoft/vscode-cmake-tools

Supply arguments to debug/launch button from statusbar

Open
#3,681 0 comments 1 reaction 0 assignees View on GitHub
enhancement Feature: debug/launch more votes needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Discussed in https://github.com/microsoft/vscode-cmake-tools/discussions/2407

Originally posted by **s133314** March 1, 2022
I would like that if I use the debug or launch button that some arguments are automatically given (those arguments will always be the same so I just need to set them once).

So I mean when using these buttons:
![image](https://user-images.githubusercontent.com/66961749/156167685-4d08095e-32ab-4299-94bb-d49aa25774d7.png)

Now it essentially just runs `./ConjugatedMass` but I would like it to always standard be `./ConjugatedMass -c 1`

And an additional question if allowed. Now from the status bar you see `Release` is specified, if I now press the debug button will it automatically reconfigure and recompile with `Debug` before starting the debug?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the statusbar debug and launch buttons described in the issue, then review discussion 2407 for the requested behavior. Done should include a way to configure persistent arguments for those buttons and clarify whether selecting Debug reconfigures and recompiles the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.