KC's Workspace
    Preparing search index...

    Make all properties in T optional

    interface DevToolsConfig {
        clientAuth?: boolean;
        clientAuthTokens?: string[];
        config?: string;
        enabled: boolean;
        environments?: string[];
        host?: string;
        open?: boolean;
        port?: string | number;
        root?: string;
    }

    Hierarchy (View Summary)

    Index
    clientAuth?: boolean

    Disable client authentication.

    Beware that if you disable client authentication, any browsers can connect to the devtools and access to your server and filesystem. (including other devices, if you open server host option to LAN or WAN)

    true
    
    clientAuthTokens?: string[]

    Pre-configured auth tokens that are automatically trusted.

    Clients connecting with an auth token matching one of these will be auto-approved without a terminal prompt.

    config?: string
    enabled: boolean
    environments?: string[]

    Vite environments to enable DevTools for. Defaults to all environments.

    host?: string
    open?: boolean
    port?: string | number
    root?: string