mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
debugger: remove duplicate setPauseOnException call
Removes the duplicate call of setPauseOnException() inside initAfterStart(). Fixes: https://github.com/nodejs/node/issues/41795 PR-URL: https://github.com/nodejs/node/pull/41838 Reviewed-By: Jan Krems <jan.krems@gmail.com>
This commit is contained in:
committed by
GitHub
parent
849fb70e29
commit
937288aeab
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user