microsoft / microsoft/vscode-python-debugger
Allow concurrent debug sessions for no-config debugging
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 180
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
Currently DEBUGPY_ADAPTER_ENDPOINTS takes path to a file. This means that in the terminal we can only set path to a single file. Concurrent, connections can overwrite the file.
Considerations:
[Options PIPE] Make the file a PIPE. For this DEBUGPY_ADAPTER_ENDPOINTS should not be deleted by debugpy on exit.
[Option Folder] DEBUGPY_ADAPTER_ENDPOINTS could point to a folder. Debugpy, creates a temp file with random name and put the port number in it. We can monitor the folder for file creation and connect.
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 how DEBUGPY_ADAPTER_ENDPOINTS is handled for no-config debugging. Compare the proposed pipe and folder approaches, then determine which supports concurrent sessions without endpoint overwrites or premature deletion; done means concurrent connections can be established reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100