Skip to content

Commit

Permalink
rm non-maintainted dist/ dir (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
freewil authored and thebigredgeek committed Dec 18, 2016
1 parent cea345a commit 932b24a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 503 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,13 @@ debug('this is hex: %h', new Buffer('hello world'))
```

## Browser support
You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify),
or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest),
if you don't want to build it yourself.

Debug works in the browser as well, currently persisted by `localStorage`. Consider the situation shown below where you have `worker:a` and `worker:b`, and wish to debug both. You can enable this using `localStorage.debug`:
Debug's enable state is currently persisted by `localStorage`.
Consider the situation shown below where you have `worker:a` and `worker:b`,
and wish to debug both. You can enable this using `localStorage.debug`:

```js
localStorage.debug = 'worker:*'
Expand Down
Loading

0 comments on commit 932b24a

Please sign in to comment.