add debug to websocket
add debug to websocket

Add debug error and-or log support to the websocket file. This will
or should replace the default console.log messages.

itslanguage/itslanguage-js,itslanguage/itslanguage-js