Skip to content

Commit 1eac0a1

Browse files
bavulapatibengl
authored andcommitted
debugger: remove duplicate setPauseOnException call
Removes the duplicate call of setPauseOnException() inside initAfterStart(). Fixes: #41795 PR-URL: #41838 Reviewed-By: Jan Krems <[email protected]>
1 parent 3e38506 commit 1eac0a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/debugger/inspect_repl.js

-1
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)