I recently started working with socket.io and socket.io-client in nodejs. For finding an error I added the DEBUG=* to my build command. This helped me greatly, but now I wou