diff --git a/news/1 Enhancements/1306.md b/news/1 Enhancements/1306.md new file mode 100644 index 000000000000..8b97fceaf12a --- /dev/null +++ b/news/1 Enhancements/1306.md @@ -0,0 +1 @@ +Add support for [logpoints](https://code.visualstudio.com/docs/editor/debugging#_logpoints) in the experimental debugger. diff --git a/src/client/debugger/mainV2.ts b/src/client/debugger/mainV2.ts index 65f78dffa2aa..8393a7bd5fbc 100644 --- a/src/client/debugger/mainV2.ts +++ b/src/client/debugger/mainV2.ts @@ -69,6 +69,7 @@ export class PythonDebugger extends DebugSession { body.supportsValueFormattingOptions = true; body.supportsHitConditionalBreakpoints = true; body.supportsSetExpression = true; + body.supportsLogPoints = true; body.exceptionBreakpointFilters = [ { filter: 'raised',