{
    "protocol": {
        "path": "js_protocol.json",
        "package": "src/inspector/protocol",
        "output": "protocol",
        "namespace": ["v8_inspector", "protocol"],
        "options": [
            {
                "domain": "Schema",
                "exported": ["Domain"]
            },
            {
                "domain": "Runtime",
                "async": ["evaluate", "awaitPromise", "callFunctionOn", "runScript", "terminateExecution"],
                "exported": ["StackTrace", "StackTraceId", "RemoteObject", "ExecutionContextId"]
            },
            {
                "domain": "Debugger",
                "exported": ["SearchMatch", "paused.reason"]
            },
            {
                "domain": "Console"
            },
            {
                "domain": "Profiler"
            },
            {
                "domain": "HeapProfiler"
            }
        ]
    },

    "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/inspector/protocol",
        "output": "protocol",
        "string_header": "src/inspector/string-util.h"
    }
}