debug websocket client