I implement socket.io 1.2.1 server script on a Centos server, and open a client window on mozilla firefox (v34.0.5). I see many logs in my firebug console. please see https://dl.dropboxusercontent.com/u/58691844/firebug%20logs.PNG
when I copy the socket.io server script to my localhost and run it, and open a client window, I dont see any logs in my firebug.
socket.io
uses thedebug
module for its output. In node this means you toggle debug output via an environment variable calledDEBUG
. In the browser however, debug output is toggled by settinglocalStorage.debug
. If you open up the console and doconsole.log(localStorage.debug);
you should see it output some non-empty string. If you set it to a blank string, the debug output should go away.