Added websocket debugging option.