I have a websocket that sends some messages to my server and I would like to find out what code is causing the messages to be send.
I can see the websocket and its messages by opening the chrome devtools, going to the network tab, looking for the request of type
websocket, clicking on it and going to the tab
messages. When looking at the requests in the network tab itself, they have a column
Initiator, which links to the code having initialized the request, the same sadly isn't true for the messages overview.
How can I get the same information for each individual message?