microsoft / microsoft/vscode-cpptools
Remote Debug Configuration
Open
Nobody has claimed this yet.
debugger
Feature Request
help wanted
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
I have a configuration for remote debugging:
{
"name": "debug remote",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/program_name",
"cwd": "${workspaceRoot}",
"MIMode": "gdb",
"miDebuggerServerAddress": "192.168.1.38:1234",
"serverLaunchTimeout": 1000,
}
...however, the address I am debugging changes quite often. I would greatly appreciate some way to select from local IP addresses (eg. those revealed by arp -a) or manual entry on launch, similar to ${command.pickProcess}
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 tracing the extension's cppdbg launch-configuration handling and how VS Code resolves the ${command.pickProcess} variable. Determine how a launch-time picker or manual prompt could supply miDebuggerServerAddress, then verify that remote debugging connects using the selected address.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100