DevtoolsHubOptions
interfaceConfiguration for the DevTools hub server.
All fields are optional; sensible defaults are applied when omitted.
Properties
| Name | Type | Description |
|---|---|---|
allowedExtensionIds? | string[] | Extension ids allowed to connect, e.g. ["abcdefghijklmnopabcdefghijklmnop"]. |
allowedOrigins? | string[] | Extra WebSocket Origin values to accept, beyond the always-allowed set
(no Origin, browser-extension origins, and loopback origins). Use this only
for a non-loopback local dev host (e.g. a custom .local domain). Adding a
remote origin re-opens the cross-site hijack surface, don't. |
authToken? | string | Shared secret every client must present in its handshake. |
historySize? | number | Maximum events retained in the ring buffer for late-connecting extensions. |
host? | string | Host to bind on. |
maxMessagesPerSecond? | number | Most messages one client may send per second before the excess is dropped. |
port? | number | Port to bind on. |