microsoft / microsoft/debug-adapter-protocol
BreakpointEvent.reason should be strongly typed
Open
Nobody has claimed this yet.
bug
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 173
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 2
Description
These values have special meaning, and should be part of the protocol.
/** The reason for the event.
Values: 'changed', 'new', 'removed', etc.
*/
reason: string;
cc
@mostafaeweda
@ebluestein
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 locating the BreakpointEvent definition and its reason field in the protocol TypeScript definitions. Review how other protocol fields represent constrained values, then define the supported reason values and update the related type declaration; done means the field no longer accepts an unrestricted string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100