Enable dev-mode diagnostics across the whole library.
When on, the library performs developer-only checks (circular references,
empty recorder detection, suspicious predicate shapes, etc.) and emits
console.warn messages to help you catch mistakes early.
Call once at application startup. See the module header for the full
list of what dev-mode gates.
Returns void
Example
import { enableDevMode } from'footprintjs'; if (process.env.NODE_ENV !== 'production') enableDevMode();
Enable dev-mode diagnostics across the whole library.
When on, the library performs developer-only checks (circular references, empty recorder detection, suspicious predicate shapes, etc.) and emits
console.warnmessages to help you catch mistakes early.Call once at application startup. See the module header for the full list of what dev-mode gates.