[WIP] Node support for the inspector "Target" domain
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
Affected core subsystem(s)
inspector: new (internal) API was added.
This is a proposed implementation of the inspector protocol extensibility for the Node. Second commit implements a "Target" domain handler. Note that right now targets created through fork
and spawn
are not automatically surfacing here. I will publish a Node module that demos the protocol in a separate repository.
In the future, we may look into implementing "Network" domain to surface network interactions.
I am looking for any feedback.
Should this be a public API? I can see tooling vendors or Node module providers looking to implement custom domains in the future.