如何配置charles

编程入门 行业动态 更新时间:2024-10-28 16:29:45
本文介绍了如何配置charles-proxy在Linux中与Chrome配合使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我尝试设置Chrome代理:

I try setting the chrome proxy:

google-chrome --proxy-server=127.0.0.1:8888

Chrome打开一个新窗口,但是查尔斯没有捕获任何窗口.

Chrome opens a new window, but charles does not capture any.

推荐答案

Charles通常在localhost:8888打开一个代理(您可以在Proxy> Proxy settings ...菜单中对其进行更改),因此您必须执行的操作只需将此代理服务器添加到您的连接中即可.

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.

我发现的最好的实现方法是安装代理SwitchyOmega扩展,如前所述配置代理参数,并在您要跟踪http请求时手动切换.

The best way to achieve that I've found is by installing the Proxy SwitchyOmega extension, configuring the proxy parameters as told before and switching manually whenever you want to track http requests.

它不像在Windows上那样容易,但是对我来说很好.

It's not as easy as it is on windows but works fine for me.

更多推荐

如何配置charles

本文发布于:2023-11-24 03:05:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1623744.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:charles

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!