File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,20 @@ export class PythonDebugger extends DebugSession {
4949 }
5050 protected initializeRequest ( response : DebugProtocol . InitializeResponse , args : DebugProtocol . InitializeRequestArguments ) : void {
5151 response . body . supportsEvaluateForHovers = true ;
52+ response . body . supportsConditionalBreakpoints = true ;
53+ response . body . supportsEvaluateForHovers = false ;
54+ response . body . supportsFunctionBreakpoints = false ;
55+ response . body . exceptionBreakpointFilters = [
56+ {
57+ label : "All Exceptions" ,
58+ filter : "all"
59+ } ,
60+ {
61+ label : "Uncaught Exceptions" ,
62+ filter : "uncaught"
63+ }
64+ ] ;
65+
5266 this . sendResponse ( response ) ;
5367 // now we are ready to accept breakpoints -> fire the initialized event to give UI a chance to set breakpoints
5468 this . sendEvent ( new InitializedEvent ( ) ) ;
You can’t perform that action at this time.
0 commit comments