Documentation / @zerotal/devtools / index / DevtoolsConfigShape
Interface: DevtoolsConfigShape
Defined in: devtools/src/config.ts:4
Properties
capacity
capacity:
number
Defined in: devtools/src/config.ts:9
How many request traces to keep in memory and reload on start.
Default: 100.
dbPath
dbPath:
string|null
Defined in: devtools/src/config.ts:15
SQLite file backing the trace history, so it survives a restart. Set to
null to keep traces in memory only — nothing is written to disk.
Default: .zerotal/devtools.sqlite, or ZT_DEVTOOLS_DB.
pruneHours
pruneHours:
number
Defined in: devtools/src/config.ts:20
How long a persisted trace survives, in hours.
Default: 24, or ZT_DEVTOOLS_PRUNE_HOURS.
redact
redact:
RedactionOptions
Defined in: devtools/src/config.ts:29
Whether query bindings are masked before a trace leaves the process.
On by default: a trace is streamed to the browser and written to disk for a day, and bindings are the request's real values — the password on a registration, a reset token, every customer email a listing selects by. Turn it off only when you are debugging the values themselves.