最終更新:2020-07-16 (木) 13:02:51 (1378d)
Socket.IO/デバッグ
https://socket.io/docs/logging-and-debugging/
メモ
- デフォルトだとコンソール出力はしない
- you can opt into seeing messages by supplying the DEBUG env variable (Node.js) or the localStorage.debug? property (Browsers).
例
- DEBUG=* node yourfile.js
- localStorage.debug = '*';
- DEBUG=socket.io:client* node yourfile.js
- DEBUG=engine,socket.io* node yourfile.js