Skip to content

inspector: allow --inspect=host:port from js

Use case is to be able to turn on/off the inspector websocket port, control the port and host it binds to, and determine the current UUID, so that information can be transmitted out-of-band to remote inspect clients.

/to @eugeneo , this builds on top of your recent work on js APIs for the inspector. /to @nodejs/diagnostics As discussed in last WG meeting.

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
Affected core subsystem(s)
src, inspector

Merge request reports

Loading