microsoft / microsoft/vscode-cmake-tools
conditional args based on target
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
I am using the launch.json from here: https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/debug-launch.md#debug-using-a-launchjson-file
It allows a single configuration to debug multiple targets, by just switching the target in the status bar.
My problem is that I need to pass different args for different targets.
Can this be accommodated without having 2 create separate profiles in launch.json?
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
Start with docs/debug-launch.md, especially the section on using a launch.json file, and trace how the selected target is represented in the debug configuration. Determine whether the existing configuration supports target-specific arguments without separate profiles; done means the documented behavior works for multiple targets and is covered by an appropriate test or reproducible validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100