microsoft / microsoft/vscode-cmake-tools

Example `launch.json` for MSVC seems wrong.

Open
#4,248 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

more info needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

In **https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/debug-launch.md#msvc**
```json
"environment": [
{
// add the directory where our target was built to the PATHs
// it gets resolved by CMake Tools:
"name": "PATH",
"value": "${env:PATH}:${command:cmake.getLaunchTargetDirectory}"
},
```
PATH in windows should use `;` as a separator, this configuration won't work.

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

Open docs/debug-launch.md at the MSVC section linked in the issue and inspect the launch.json environment example. Verify the Windows PATH separator used there, update the example accordingly, and confirm the documented configuration is valid for MSVC debugging.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, vscode
Domain
devtools, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.