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: https://github.com/nodejs/node/pull/26793
Reviewed-By:
Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de>
parent
83972ff6
Please register or sign in to comment