debug icon indicating copy to clipboard operation
debug copied to clipboard

Support "-" prefix in DEBUG environment variable

Open milewise opened this issue 14 years ago • 3 comments

It would be really useful if you could prefix a module name with a "-" to indicate that debug should be disabled for that module.

For example, this would turn debugging on for everything except for somemodule:

DEBUG="* -somemodule"

milewise avatar Feb 07 '12 17:02 milewise

I think @guille or @tooTallNate wanted this too so im +1 :) I haven't needed it yet but I can see it

tj avatar Feb 07 '12 17:02 tj

cool. i submitted a pull request with a quick implementation of this.

milewise avatar Feb 07 '12 19:02 milewise

This issue should be closed, support was added in https://github.com/visionmedia/debug/pull/13

2pi avatar Sep 01 '13 19:09 2pi