Skip to content

docs: note empty DEBUG behavior#1044

Closed
vibhor-aggr wants to merge 1 commit into
debug-js:masterfrom
vibhor-aggr:docs/empty-debug-env
Closed

docs: note empty DEBUG behavior#1044
vibhor-aggr wants to merge 1 commit into
debug-js:masterfrom
vibhor-aggr:docs/empty-debug-env

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Summary

  • document that an empty DEBUG value is treated as disabling all namespaces
  • note that saving this disabled state removes process.env.DEBUG
  • mention DEBUG=, as a non-empty disabled value when other code needs to observe that DEBUG was set

Closes #845.

Verification

  • smoke check proving DEBUG= is removed after requiring debug
  • npm run test:node
  • git diff --check

@Qix-

Qix- commented Jul 13, 2026

Copy link
Copy Markdown
Member

I don't really appreciate the AI low-effort PRs.

@Qix- Qix- closed this Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Undocumented delete process.env.DEBUG when variable is empty

2 participants