Added check for debug view with socket.io

Fix for #11