Skip to content

Commit 5b1c391

Browse files
authored
✨ restore feature to break on raised exceptions in debugger (microsoft#857)
Fixes microsoft#856
1 parent e9eeb80 commit 5b1c391

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

src/client/debugger/mainV2.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
'use strict';
55

6-
// tslint:disable:no-any max-func-body-length no-empty no-require-imports no-var-requires no-suspicious-comment
6+
// tslint:disable:no-any max-func-body-length no-empty no-require-imports no-var-requires
77

88
if ((Reflect as any).metadata === undefined) {
99
require('reflect-metadata');
@@ -64,12 +64,11 @@ export class PythonDebugger extends DebugSession {
6464
body.supportsSetVariable = true;
6565
body.supportsExceptionOptions = true;
6666
body.exceptionBreakpointFilters = [
67-
// TODO: Temporary workaround for PTVSD #85
68-
// {
69-
// filter: 'raised',
70-
// label: 'Raised Exceptions',
71-
// default: false
72-
// },
67+
{
68+
filter: 'raised',
69+
label: 'Raised Exceptions',
70+
default: false
71+
},
7372
{
7473
filter: 'uncaught',
7574
label: 'Uncaught Exceptions',

0 commit comments

Comments
 (0)