[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/devtools](../../README) / [index](../README) / DevtoolsConfigShape

# Interface: DevtoolsConfigShape

Defined in: [devtools/src/config.ts:4](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/config.ts#L4)

## Properties

### capacity

> **capacity**: `number`

Defined in: [devtools/src/config.ts:9](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/config.ts#L9)

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](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/config.ts#L15)

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](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/config.ts#L20)

How long a persisted trace survives, in hours.
Default: `24`, or `ZT_DEVTOOLS_PRUNE_HOURS`.

***

### redact

> **redact**: [`RedactionOptions`](RedactionOptions)

Defined in: [devtools/src/config.ts:29](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/config.ts#L29)

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.
