Skip to content

Commit 745229c

Browse files
bavulapatibengl
authored andcommitted
debugger: remove duplicate setPauseOnException call
Removes the duplicate call of setPauseOnException() inside initAfterStart(). Fixes: nodejs#41795 PR-URL: nodejs#41838 Reviewed-By: Jan Krems <jan.krems@gmail.com>
1 parent be7cc04 commit 745229c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/internal/debugger/inspect_repl.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,6 @@ function createRepl(inspector) {
11221122
await Profiler.enable();
11231123
await Profiler.setSamplingInterval({ interval: 100 });
11241124
await Debugger.enable();
1125-
await Debugger.setPauseOnExceptions({ state: 'none' });
11261125
await Debugger.setAsyncCallStackDepth({ maxDepth: 0 });
11271126
await Debugger.setBlackboxPatterns({ patterns: [] });
11281127
await Debugger.setPauseOnExceptions({ state: pauseOnExceptionState });

0 commit comments

Comments
 (0)