Abhiram mishra
Abhiram mishra

Reputation: 1617

Monitoring the websocket data through browser developer tools

Is it possible to see/monitor the data exchange through developer tools of browsers , like chrome already has the developer tools > network > websocket,But it only displays the communication handshake but no data exchange unlike the xhr

Upvotes: 1

Views: 2669

Answers (2)

gzost
gzost

Reputation: 2445

In Chrome, when you go to the "Network" tab in the dev tools and then click on a WebSocket connection, you can view the exchanged data by switching from "Headers" to "Frames" in the displayed WebSocket data.

Upvotes: 3

Sebastian Zartner
Sebastian Zartner

Reputation: 20095

The Firefox developer tools do currently (version 41.0) not offer a way to inspect WebSocket connections. There's an issue filed for it, though.

The same relates to Firebug. There´s also an issue filed for it.

Upvotes: 1

Related Questions