DevtoolsHubOptions

interface
hub.ts:27

Configuration for the DevTools hub server.

All fields are optional; sensible defaults are applied when omitted.

Properties

NameTypeDescription
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?stringShared secret every client must present in its handshake.
historySize?numberMaximum events retained in the ring buffer for late-connecting extensions.
host?stringHost to bind on.
maxMessagesPerSecond?numberMost messages one client may send per second before the excess is dropped.
port?numberPort to bind on.