Skip to content

Commit 0c39f14

Browse files
authored
docs: add section about Debug / logging on the client side (#1278)
1 parent 6ce02ee commit 0c39f14

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ Socket.IO is compatible with [browserify](http://browserify.org/) and [webpack](
4848
socket.on('disconnect', function(){});
4949
```
5050

51+
## Debug / logging
52+
53+
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:
54+
55+
```
56+
localStorage.debug = '*';
57+
```
58+
59+
And then, filter by the scopes you're interested in. See also: https://socket.io/docs/logging-and-debugging/
60+
5161
## API
5262

5363
See [API](/docs/API.md)

0 commit comments

Comments
 (0)