inspector,cluster: fix inspect port assignment
* Adding --inspect-port with debug port, instead of parsing `execArgv`
* Export CLI debug options to `process.binding('config').debugOptions`
(currently used only in tests)
PR-URL: https://github.com/nodejs/node/pull/13619
Refs: https://github.com/nodejs/node/pull/9659
Reviewed-By:
Refael Ackermann <refack@gmail.com>
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Sam Roberts <vieuxtech@gmail.com>
Reviewed-By:
Matteo Collina <matteo.collina@gmail.com>
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
parent
f462ad1f
Please register or sign in to comment