microsoft / microsoft/debug-adapter-protocol
Unclear meaning of "debug session"
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 173
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 2
Description
I'm trying to implement support for startDebugging in Eclipse LSP4E, using the dapDebugServer.js build by vscode-js-debug.
But after many attempts, I didn't yet manage to figure out from the spec and the code what should be done to properly handle the startDebugging request.
The specification mentions "debug session", but what is a "debug session" exactly? Particularly, how do I start a new "debug session"? Should I send initialized again, or send only launch; should I reuse the same connection or spawn a new debug adapter...? It would be great if the spec could clarify when does a new debug session start, and how to start one as a reaction of startDebugging.
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
Read the startDebugging request in the specification alongside the dapDebugServer.js implementation and the existing discussion. Clarify what constitutes a debug session, which messages and connections are involved, and when a new session begins; done means the specification documents an unambiguous startup sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools, documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100