I could not see any requests from my localhost server
Why does this happen? By default, on macOS, all localhost requests don't go through the System HTTP Proxy. Therefore, there is no traffic recorded by Proxyman app.
There are two solutions to fix it: You should follow either one of the following solutions.
etc/hostsfile with Vim or VS Code.
$ sudo vim /etc/hosts
2. Add Domain Name with both IPv4 and IPv6 (You can change the
proxyman.debugwith your name)
Add proxyman.debug in /etc/host
3. Save the file with
4. Access your localhost server by http://proxyman.debug:3000 (replace 3000 with your localhost ports)
6. Enjoy debugging!
Proxyman uses Cloudflare and sets the DNS of localhost.proxyman.io to 127.0.0.1 (localhost). As a result, Proxyman can capture the local traffic as usual ✅