Skip to content

inspector: added --inspect-publish-uid-ipc-path argument

The argument takes the IPC path as an argument when it is passed, the inspector web socket server will send its full web socket url to IPC server with the given path at the start.

This flag is required to solve inspector web socket url discovery the problem for child processes.

Only one discovery option is available right now; it is searching for ws:// URLs in stderr of node process. This approach does not work when the parent process ignores the stderr of the child process, e.g. update-notifier uses this technique.

Discussion about using files instead can be found here: https://github.com/nodejs/diagnostics/issues/298

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading