We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b41e6c1 commit 6b200ccCopy full SHA for 6b200cc
packages/utils/src/lib/performance-observer.ts
@@ -260,8 +260,9 @@ export class PerformanceObserverSink<T> {
260
/**
261
* Returns whether debug mode is enabled for encode failures.
262
*
263
- * Debug mode is determined by the environment variable 'DEBUG'
264
- * performance marks for debugging.
+ * Debug mode is configured via the `debug` option passed to the
+ * PerformanceObserverSink constructor. When enabled, encode failures
265
+ * are recorded as performance marks for debugging.
266
267
* @returns true if debug mode is enabled, false otherwise
268
*/
0 commit comments