`debug.enable()` flushes enabled namespaces
Author: dboCreated Feb 22, 2017Updated Jan 9, 2026
Labelsbughelp-wantedpr-welcome
Calling enable is disruptive to any enabled namespaces, which has changed in the recent minor version, caused by https://github.com/visionmedia/debug/pull/409
$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))'
=> falseSource: debug-js/debug