Skip to content

Commit 6b200cc

Browse files
BioPhotonCopilot
andauthored
Update packages/utils/src/lib/performance-observer.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b41e6c1 commit 6b200cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/utils/src/lib/performance-observer.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,9 @@ export class PerformanceObserverSink<T> {
260260
/**
261261
* Returns whether debug mode is enabled for encode failures.
262262
*
263-
* Debug mode is determined by the environment variable 'DEBUG'
264-
* performance marks for debugging.
263+
* Debug mode is configured via the `debug` option passed to the
264+
* PerformanceObserverSink constructor. When enabled, encode failures
265+
* are recorded as performance marks for debugging.
265266
*
266267
* @returns true if debug mode is enabled, false otherwise
267268
*/

0 commit comments

Comments
 (0)