Debugging for socket.io