diff --git a/news/3 Code Health/1409.md b/news/3 Code Health/1409.md new file mode 100644 index 000000000000..24e5dd3195ec --- /dev/null +++ b/news/3 Code Health/1409.md @@ -0,0 +1 @@ +Add support for [hit count breakpoints](https://code.visualstudio.com/docs/editor/debugging#_advanced-breakpoint-topics) in the experimental debugger. diff --git a/src/client/debugger/mainV2.ts b/src/client/debugger/mainV2.ts index 2d8855e7354b..65f78dffa2aa 100644 --- a/src/client/debugger/mainV2.ts +++ b/src/client/debugger/mainV2.ts @@ -67,6 +67,7 @@ export class PythonDebugger extends DebugSession { body.supportsEvaluateForHovers = true; body.supportsModulesRequest = true; body.supportsValueFormattingOptions = true; + body.supportsHitConditionalBreakpoints = true; body.supportsSetExpression = true; body.exceptionBreakpointFilters = [ {