How to view Web socket response in browser?
I am using Google Chrome version 24
I am viewing a website where the data is being fetched to the front end by websocket call.
My question is, "Is it possible to view the web socket response from the browser?" Are there any such tools?
Please let me know, thanks in advance.
Yes this is possible. Look at the Network pane in Dev Tools and look for the line that says Switching Protocols
The caveat is you need to close and reload the detail pane as it does not auto-refresh (as of Chrome 25)
Possible duplicate: Debugging WebSocket in Google Chrome (though definitely dated information, much has changed since those answers were posted)
This is pretty close to 'up-to-date' information as of (2013-03-20) http://codetheory.in/websocket-traffic-inspection-in-chrome-developer-tools/
On the Chrome inspector, click the Network tab.