Skip to content

DebugConfig

Defined in: DebugPlugin.ts:37

Configuration for the DebugPlugin.

optional flags?: Record<string, boolean>

Defined in: DebugPlugin.ts:51

Initial flag overrides, keyed by “contributorName.flagName”.


optional manualClock?: boolean

Defined in: DebugPlugin.ts:41

When true, stop the renderer ticker and advance simulation manually via window.__yage__.clock.


optional maxGraphics?: number

Defined in: DebugPlugin.ts:45

Max pooled Graphics objects. Default: 256


optional maxHudLines?: number

Defined in: DebugPlugin.ts:47

Max HUD text lines. Default: 32


optional startEnabled?: boolean

Defined in: DebugPlugin.ts:49

Whether the overlay starts enabled. Default: false


optional stepKey?: string

Defined in: DebugPlugin.ts:43

Key code to advance one fixed-timestep frame while manual clock mode is active. Default: “Period”


optional toggleKey?: string

Defined in: DebugPlugin.ts:39

Key code to toggle debug overlay. Default: “Backquote”