The shape of the debug context value provided to consumers.
interface DebugContextType { isDebugEnabled: boolean; toggleDebug: () => void; setDebugEnabled: (enabled: boolean) => void;} Copy
interface DebugContextType { isDebugEnabled: boolean; toggleDebug: () => void; setDebugEnabled: (enabled: boolean) => void;}
Whether debug mode is currently enabled.
Function to toggle debug mode on/off.
Function to explicitly set debug mode state.
The shape of the debug context value provided to consumers.
Source