mirror of
https://github.com/nodejs/node.git
synced 2026-12-06 05:18:56 -05:00
Introduce a NodeTarget inspector domain modelled after ChromeDevTools Target domain. It notifies inspector frontend attached to a main V8 isolate when workers are starting and allows passing messages to inspectors on their isolates. All inspector functionality is enabled on worker isolates. PR-URL: https://github.com/nodejs/node/pull/21364 Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
23 lines
717 B
JSON
23 lines
717 B
JSON
{
|
|
"protocol": {
|
|
"path": "node_protocol.json",
|
|
"package": "src/node/inspector/protocol",
|
|
"output": "node/inspector/protocol",
|
|
"namespace": ["node", "inspector", "protocol"]
|
|
},
|
|
"exported": {
|
|
"package": "include/inspector",
|
|
"output": "../../include/inspector",
|
|
"string_header": "v8-inspector.h",
|
|
"string_in": "StringView",
|
|
"string_out": "std::unique_ptr<StringBuffer>",
|
|
"to_string_out": "StringBufferImpl::adopt(%s)",
|
|
"export_macro": "V8_EXPORT"
|
|
},
|
|
"lib": {
|
|
"package": "src/node/inspector/protocol",
|
|
"output": "node/inspector/protocol",
|
|
"string_header": "inspector/node_string.h"
|
|
}
|
|
}
|