问题
I try setting the chrome proxy:
google-chrome --proxy-server=127.0.0.1:8888
Chrome opens a new window, but charles does not capture any.
回答1:
Charles opens up a proxy usually at localhost:8888 (you can change it in the Proxy > Proxy settings... menu), so what you have to do is simply add this proxy server to your connections.
The best way to achieve that I've found is by installing the Proxy SwitchySharp extension, configuring the proxy parameters as told before and switching manually whenever you want to track http requests.
It's not as easy as it is on windows but works fine for me.
来源:https://stackoverflow.com/questions/32436997/how-configure-charles-proxy-to-work-with-chrome-in-linux-ubuntu-14-04