Skip to content

Commit

Permalink
debugger: remove duplicate setPauseOnException call
Browse files Browse the repository at this point in the history
Removes the duplicate call of setPauseOnException() inside
initAfterStart().

Fixes: #41795

PR-URL: #41838
Reviewed-By: Jan Krems <jan.krems@gmail.com>
  • Loading branch information
bavulapati authored and bengl committed Feb 22, 2022
1 parent 3e38506 commit 1eac0a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/debugger/inspect_repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,6 @@ function createRepl(inspector) {
await Profiler.enable();
await Profiler.setSamplingInterval({ interval: 100 });
await Debugger.enable();
await Debugger.setPauseOnExceptions({ state: 'none' });
await Debugger.setAsyncCallStackDepth({ maxDepth: 0 });
await Debugger.setBlackboxPatterns({ patterns: [] });
await Debugger.setPauseOnExceptions({ state: pauseOnExceptionState });
Expand Down

0 comments on commit 1eac0a1

Please sign in to comment.