fix: add a check for debug view with socket.io
Closes #11
Merge pull request #13 from pablojim/master

fix: add a check for debug view with socket.io