# PG_CACHE_DEBUG variable · @imqueue/pg-cache

Source: https://imqueue.org/api/pg-cache/latest/pg-cache.pg_cache_debug/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-cache 5.0.6 — generated reference, not hand-written

Whether verbose cache tracing is on, read once from the `PG_CACHE_DEBUG` environment variable at import time.

When enabled, cache saves, fetches and trigger installation are logged at info level. Warnings are logged regardless. Because it is read at import time, changing the variable afterwards has no effect.

**Signature:**

```typescript
PG_CACHE_DEBUG: boolean
```

