inspector: always set process.binding('inspector').callAndPauseOnStart · nodejs/node@3574b62 · GitHub
Skip to content

Commit 3574b62

Browse files
joyeecheungtargos
authored andcommitted
inspector: always set process.binding('inspector').callAndPauseOnStart
Since `process.binding('inspector')` is loaded during bootstrap, simply set `process.binding('inspector').callAndPauseOnStart` unconditionally instead of relying on `agent->WillWaitForConnect()` which depends on runtime states, PR-URL: #26793 Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent d80cd50 commit 3574b62

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/inspector_js_api.cc

Lines changed: 1 addition & 4 deletions

0 commit comments

Comments
 (0)