官方版
Configure a WinHTTP Application to Use Fiddler
To configure a WinHTTP application to send web traffic to Fiddler, enter this command from the command line:
Windows Vista or above (Requires an Elevated/Admin command prompt):
netsh winhttp set proxy 127.0.0.1:8888
On Windows 7 or earlier, run the above command in 32bit NETSH to configure 32bit WinHTTP hosts, and run the command in 64bit NETSH to configure 64bit WinHTTP hosts.
Windows XP or below:
proxycfg -p http=127.0.0.1:8888;https=127.0.0.1:8888
Or: (Forces WinHTTP to use WinINET’s proxy settings)
proxycfg -u
谷歌翻译版
配置一个WinHTTP应用程序以使用Fiddler
要配置WinHTTP应用程序将网络流量发送到Fiddler,请从命令行输入以下命令:
Windows Vista或更高版本(需要“提升/管理员”命令提示符
netsh winhttp set proxy 127.0.0.1:8888
在Windows 7或更早版本上,在32位NETSH中运行上述命令以配置32位WinHTTP主机,在64位NETSH中运行命令以配置64位WinHTTP主机。
Windows XP或以下:
proxycfg -p http=127.0.0.1:8888;https=127.0.0.1:8888
或者:(强制WinHTTP使用WinINET的代理设置)
proxycfg -u