microsoft / microsoft/vscode-cmake-tools
Supply arguments to debug/launch button from statusbar
- 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:

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