[Documentation] Enabling debug logs in socket.io server
See original GitHub issueHi, Is there any way to debug socket issue by getting debug logs of socket.io?
Also The documentation doesn’t tell much about the transport error. So someone please tell me what causes this transport error
and more information about this disconnect reason.
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Logging and debugging - Socket.IO
The basic idea is that each module used by Socket.IO provides different debugging scopes that give you insight into the internals. By default, ......
Read more >Debugging on the server | Socket.IO Cookbook
To get started with debugging on the server side, you will need to have Node and Socket.IO installed and an existing app that...
Read more >Socket.IO - Logging & Debugging - Tutorialspoint
Socket.IO uses a very famous debugging module developed by ExpresJS's main author, called debug. Earlier Socket.IO used to log everything to the console ......
Read more >Socket.io client debugging? - Stack Overflow
I have enabled the logs by entering this code into my web browser but now I am not able to disable it. Whenever...
Read more >Socket.io inspection techniques to simplify realtime app ...
To turn on Socket.io's client-side logging, you can open the JavaScript console in the Chrome developer tools and type localStorage.debug = '*' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use below to log info about socket: $ DEBUG=socket* node YOUR_FILE
Use below to log all info: $ DEBUG=* node YOUR_FILE
DEBUG=*
is not working on 4.5.1 In my case it shows Playwright logs but not socketio server logs.