DebugConfig
Immutable configuration for the Lustro debug runtime.
A value object (deliberately not a data class, to keep the public surface stable and mirrorable by :lustro-noop). Build instances with builder or use DEFAULT. The no-op module accepts and stores every field for API parity with the runtime, but enforces none of them (nothing binds, captures, or serves).
No-op build: the values are accepted and held identically to the runtime, but never used (nothing binds, captures, or serves).
Types
Properties
Extra Origins permitted to call the debug API, on any method; the server's own origin is always allowed (other localhost ports are not). Enforced by the :lustro runtime. Default empty.
Whether Lustro.start may arm the server in a build that is not marked debuggable (honoured by the :lustro runtime). Default false.
Base URL for the relative URLs of the Send form when the Network tab sends through a senderClient, or null. A sender from OkHttpSender.create has its own base URL instead. Default null.
The address to bind. Default "127.0.0.1", loopback.
Whether to fall back to an ephemeral port when serverPort is taken. Default false.
Total in-memory budget for kept capture bodies, in bytes (enforced by the :lustro runtime). Default 50 MB.
Maximum bytes captured per request/response body. Default 256 KB.
Maximum number of retained transactions (ring cap). Default 1000.
Maximum number of retained WebSocket connections (enforced by the :lustro runtime). Default 100.
Maximum concurrent in-flight requests (enforced by the :lustro runtime). Default 16.
Maximum accepted request body size (enforced by the :lustro runtime). Default 1 MB.
Maximum number of messages and lifecycle events retained per WebSocket connection (enforced by the :lustro runtime). Default 1000.
Bounded request queue capacity (enforced by the :lustro runtime). Default 64.
Per-request timeout in milliseconds (enforced by the :lustro runtime). Default 30000.
The TCP port the debug server binds to. Default 8080.
Total in-memory budget for WebSocket message payloads, in bytes (enforced by the :lustro runtime). Default 16 MB.