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

***

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

# Function: traceStore()

> **traceStore**(): [`TraceStore`](../classes/TraceStore)

Defined in: [devtools/src/TraceStore.ts:257](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/TraceStore.ts#L257)

The store devtools records into, created on first call.

Lazy on purpose: the module-level `new TraceStore()` this replaced opened a
SQLite file and started an hourly timer at import time, so a production boot
that merely imported `DevtoolsProvider` created `.zerotal/devtools.sqlite` in
its working directory even though the provider itself is a no-op there.

## Returns

[`TraceStore`](../classes/TraceStore)
