inspector: added --inspect-publish-uid
This flag specifies how inspector websocket url should be exposed. Supported options:
- stderr - reports websocket as a message to stderr,
- http - exposes /json/list endpoint that contains inspector websocket url,
- binding -
require('inspector').url()
.
Related discussion: https://github.com/nodejs/diagnostics/issues/303
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines