Skip to content

Commit

Permalink
docs: add section about Debug / logging on the client side (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmi authored Sep 30, 2020
1 parent 6ce02ee commit 0c39f14
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ Socket.IO is compatible with [browserify](http://browserify.org/) and [webpack](
socket.on('disconnect', function(){});
```

## Debug / logging

In order to see all the client debug output, run the following command on the browser console – including the desired scope – and reload your app page:

```
localStorage.debug = '*';
```

And then, filter by the scopes you're interested in. See also: https://socket.io/docs/logging-and-debugging/

## API

See [API](/docs/API.md)
Expand Down

0 comments on commit 0c39f14

Please sign in to comment.