Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug Sockets with Android device using charles

I am using Charles to debug api data everything works fine, but if I need to debug sockets via Charles is there any procedure to do that because I can't see any websocket data in cells while debugging

like image 216
Jaichander Avatar asked Dec 29 '25 18:12

Jaichander


1 Answers

In order to intercept web socket traffic in Charles, "SOCKS proxy" should be enabled (by default, it is turned off).

In Charles, go to "Proxy - Proxy Settings" panel, and enable the "SOCKS proxy":

enter image description here

It's done. Here is an example of web socket traffic in Charles:

enter image description here

like image 97
shaochuancs Avatar answered Jan 01 '26 08:01

shaochuancs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!