Try Chrome’s developer tools,
- click ‘Network’ tab
- use the filters at the bottom to show only WebSocket connections),
- select the desired websocket connection,
- note that there are ‘Headers’, ‘Preview’, ‘Response’, etc. sub-tabs
to the right, - once data starts flowing a ‘WebSocket Frames’ subtab will appear.
All data going in either direction is logged. Very informative.