Skip to content

Function: debugMode()

@termwright/driver


@termwright/driver / debugMode

debugMode(explicit): "all" | "off" | "api"

Defined in: driver/src/debug.ts:32

Reads the debug switch. TERMWRIGHT_DEBUG accepts 1, true, api (calls, waits, revisions, diagnostics) and all (adds raw PTY traffic).

boolean | undefined

"all" | "off" | "api"