debugging websockets