microsoft / microsoft/vscode-cpptools

"Add Debug Configuration" is not available if the active file is not in the workspace

Open
#13,595 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tasks/build/debug
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

This is inconsistent with the fact that Debug C/C++ File is available. It seems like the code should just be checking what the active or default workspace folder is.

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

Reproduce the two command behaviors with an active C/C++ file outside the workspace; compare Add Debug Configuration with Debug C/C++ File and inspect how workspace selection is handled. Done means Add Debug Configuration is available and uses the active or default workspace folder consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.