Skip to content

debug.enable() flushes enabled namespaces #425

Open
@dbo

Description

@dbo

Calling enable is disruptive to any enabled namespaces, which has changed in the recent minor version, caused by #409

$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))'
=> false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue identifies a malfunctionhelp-wantedThis issue has an actionable itempr-welcomeThis issue has an approved change; a pull request would be appreciated

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions