Skip to content
This repository
Browse code

updated docs

  • Loading branch information...
commit d656d2fc2bc94fefc5ed3d5020d5e0bb152965f3 1 parent 883f445
Vinay Pulim authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  Readme.md
2  Readme.md
Source Rendered
@@ -85,6 +85,8 @@ setInterval(function(){
85 85
86 86 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=*`.
87 87
  88 + 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:".
  89 +
88 90 ## Browser support
89 91
90 92 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()`.

0 comments on commit d656d2f

Please sign in to comment.
Something went wrong with that request. Please try again.