@dxos/react-client
    Preparing search index...

    Type Alias DebugPortStartOptions

    type DebugPortStartOptions = {
        onLog?: (line: string) => void;
        origin?: string;
        persist?: boolean;
        scope?: () => DebugPortScope;
    }
    Index

    Properties

    onLog?: (line: string) => void

    Additional sink for the loop's lines, for hosts with no log surface of their own (the recovery page).

    origin?: string
    persist?: boolean

    Keep the session across reloads of this tab, until SESSION_TTL expires or the tab closes.

    Off by default. A flow that navigates the page mid-debug — an OAuth redirect above all — otherwise takes the port down with it and the agent has to ask for a fresh id at exactly the moment the interesting state appears. Scoped to sessionStorage (this tab, this run) rather than localStorage, so an arbitrary-eval port can never outlive the tab it was authorized in.

    scope?: () => DebugPortScope

    Resolved at each command so a late-booting client is picked up; defaults to the mounted devtools hook.