From d656d2fc2bc94fefc5ed3d5020d5e0bb152965f3 Mon Sep 17 00:00:00 2001 From: Vinay Pulim Date: Wed, 8 Feb 2012 11:48:30 -0500 Subject: [PATCH] updated docs --- Readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Readme.md b/Readme.md index 93e2957..419fcdf 100644 --- a/Readme.md +++ b/Readme.md @@ -85,6 +85,8 @@ setInterval(function(){ The "*" character may be used as a wildcard. Suppose for example your library has debuggers named "connect:bodyParser", "connect:compress", "connect:session", instead of listing all three with `DEBUG=connect:bodyParser,connect.compress,connect:session`, you may simply do `DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. + You can also exclude specific debuggers by prefixing them with a "-" character. For example, `DEBUG=* -connect:*` would include all debuggers except those starting with "connect:". + ## Browser support Debug works in the browser as well, currently persisted by `localStorage`. For example if you have `worker:a` and `worker:b` as shown below, and wish to debug both type `debug.enable('worker:*')` in the console and refresh the page, this will remain until you disable with `debug.disable()`.