I use the Fiddler proxy to debug all kinds of HTTP issues on Windows. It's great for inspecting headers and responses across multiple pages.
Is there a good HTTP debugging proxy for Mac and Linux? I found Charles, but it's $50 once the trial runs out and it crashed on me. I could use Wireshark, but it's a pain.
By inspecting your HTTP(S) network traffic, you can capture requests and responses to identify bugs. Then you can narrow in on the root cause and present the fix. Once an error is fixed, you can use web debugging proxy to test it again, before having to make the needed changes the code.
Open Settings, tap Wi-Fi and verify you're connected to the same network as your computer. Then, tap the ⓘ button next to your Wi-Fi network. Scroll down to the HTTP Proxy section, select Configure Proxy and then tap Manual. Enter your Mac's IP address for Server and the Charles HTTP Proxy port number for Port.
Check the proxy configuration. Open Charles Proxy, if it is not already open. Open your mobile device's browser and navigate to a site. Grant access when prompted that a device is trying to connect to your network. You should now see your mobile device's traffic in your Charles Sequence log.
Charles and Fiddler can be categorized as "API" tools. According to the StackShare community, Charles has a broader approval, being mentioned in 16 company stacks & 13 developers stacks; compared to Fiddler, which is listed in 4 company stacks and 4 developer stacks.
Mitmproxy is a useful command-line proxy tool.
It has also an user UI.
mitmweb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With