microsoft / microsoft/debug-adapter-protocol

BreakpointEvent.reason should be strongly typed

Open
#156 1 comment 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.