weasel API - v0.8.0
    Preparing search index...

    Interface DebugConfig

    One bit per debug feature; absent keys are off.

    interface DebugConfig {
        bounds?: boolean;
        fps?: boolean;
        handles?: boolean;
        hitboxes?: boolean;
        ids?: boolean;
        layers?: boolean;
        origins?: boolean;
        snap?: boolean;
        theme?: Partial<DebugTheme>;
    }
    Index

    Properties

    bounds?: boolean
    fps?: boolean

    Rolling FPS counter rendered in the top-left corner of the canvas. Tracks the rate at which the debug overlay's draw callback runs; this matches the canvas's effective repaint rate.

    handles?: boolean
    hitboxes?: boolean
    ids?: boolean

    Render each tracked node's id as a label at the top-left of its bounds. Pulls from the same recordBounds stream bounds uses, so no extra sink calls are required to enable.

    layers?: boolean
    origins?: boolean
    snap?: boolean
    theme?: Partial<DebugTheme>

    Optional per-feature color overrides; falls back to the default theme.