Enable performance instrumentation using performance.mark
and
performance.measure
when supported by the environment.
Enable strict mode: developer warnings will throw instead of logging. Useful in CI to surface misuse early.
Enable non-fatal console warnings in development.
Options that control developer diagnostics.
Remarks
warnings
: Iftrue
, devWarn will emit a console warning.strict
: Iftrue
, devWarn will throw an error instead of warning.perf
: Iftrue
, mark / measure call through to the platform Performance API when available.These options are global and may be updated via configureDiagnostics.