You need to open the Google Chrome Inspector before opening the WebSocket connection. Then, as @Hernan pointed out, you go to the network → websockets, select a connection with 101 status, and on the frames tab you will see messages. But you need to switch from “Frames” to the “Headers” tab and come back again so that Chrome updates the frames.
If you send messages with the Frame tab open, they will not be updated automatically. If you open the Chrome inspector after the WebSocket connection is established, you will not see the connection.
source share