microsoft / microsoft/vscode-cpptools
Auto Attach when launching from integrated terminal
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: Feature Request
I need to launch a C++ program through SSH on a linux host using a specialized environment and a bash prompt which is achieved through running a bunch of scripts. I can launch the program using the integrated terminal. I'm looking for a way to attach the debugger to the launched program once it starts. Is that possible with the CPP extension? i noticed that there is a auto attach feature for node.js but not for C++ programs.
I've been using TotalView to debug programs as I'm unable to do so using VSCode. you can launch TotalView from the specialized environment and bash prompt and it's able to attach itself to the program
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 by reviewing how the C++ extension handles programs launched from the integrated terminal on a Linux host over SSH, including workflows that depend on bash scripts and a specialized environment. Compare this with the Node.js auto-attach feature and the reported TotalView workflow. Done would mean a documented or implemented way to attach the C++ debugger automatically when the terminal-launched program starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, cpp
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100