Read-only state value provided by DebugStateContext. Contains all debug state but no mutation functions to prevent accidental state corruption.

interface DebugStateContextValue {
isDebugEnabled: boolean;
debugMenuOpen: boolean;
isStorageDebuggerEnabled: boolean;
isLogViewerEnabled: boolean;
isLogRedactionEnabled: boolean;
isStateInspectorEnabled: boolean;
stateInspectorSources: StateInspectorSourceSnapshot[];
isIpcViewerEnabled: boolean;
isEventLoggerEnabled: boolean;
isConfidenceTestExporterEnabled: boolean;
isPerformanceMonitorEnabled: boolean;
performanceMetrics: PerformanceMetrics;
currentFPS: number;
eventLogEntries: DebugEventEntry[];
maxEventLogEntries: number;
ipcEvents: IpcLogEntry[];
maxIpcEntries: number;
logEntries: LogEntry[];
maxLogEntries: number;
}
interface DebugStateContextValue {
    isDebugEnabled: boolean;
    debugMenuOpen: boolean;
    isStorageDebuggerEnabled: boolean;
    isLogViewerEnabled: boolean;
    isLogRedactionEnabled: boolean;
    isStateInspectorEnabled: boolean;
    stateInspectorSources: StateInspectorSourceSnapshot[];
    isIpcViewerEnabled: boolean;
    isEventLoggerEnabled: boolean;
    isConfidenceTestExporterEnabled: boolean;
    isPerformanceMonitorEnabled: boolean;
    performanceMetrics: PerformanceMetrics;
    currentFPS: number;
    eventLogEntries: DebugEventEntry[];
    maxEventLogEntries: number;
    ipcEvents: IpcLogEntry[];
    maxIpcEntries: number;
    logEntries: LogEntry[];
    maxLogEntries: number;
}

Hierarchy (View Summary)

Properties

isDebugEnabled: boolean

Whether debug mode is currently enabled globally.

debugMenuOpen: boolean

Whether the debug menu panel is visible.

isStorageDebuggerEnabled: boolean

Whether the storage inspector feature is enabled.

isLogViewerEnabled: boolean

Whether console log interception and viewing is enabled.

isLogRedactionEnabled: boolean

Whether sensitive log content is redacted in logs.

isStateInspectorEnabled: boolean

Whether state inspection and time-travel debugging is enabled.

stateInspectorSources: StateInspectorSourceSnapshot[]

Array of registered state inspector sources for inspection.

isIpcViewerEnabled: boolean

Whether IPC communication tracking is enabled.

isEventLoggerEnabled: boolean

Whether debug event logging is enabled.

isConfidenceTestExporterEnabled: boolean

Whether confidence test export feature is enabled.

isPerformanceMonitorEnabled: boolean

Whether performance metrics collection is enabled.

performanceMetrics: PerformanceMetrics

Current performance metrics (API latency, cache stats, etc.).

currentFPS: number
eventLogEntries: DebugEventEntry[]

Array of recorded debug events.

maxEventLogEntries: number

Maximum number of event log entries retained.

ipcEvents: IpcLogEntry[]

Array of tracked IPC communication events.

maxIpcEntries: number

Maximum number of IPC entries retained.

logEntries: LogEntry[]

Array of intercepted console log entries.

maxLogEntries: number

Maximum number of log entries retained.