解决办法:进入到Fiddler-->Rules-->Customize Rules
在main()方法上方添加
static function DoReattach(o: Object, ea: EventArgs)
{
ScheduledTasks.ScheduleWork("reattach", 1000, innerReattach);
}
static function innerReattach()
{
FiddlerApplication.UI.actAttachProxy();
}
static function OnRetire()
{
FiddlerApplication.oProxy.remove_DetachedUnexpectedly(DoReattach);
}
在main()方法中添加
FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);
原链接:https://www.telerik.com/forums/how-to-automatically-re-enable-fiddle-as-system-proxy
原文:Reattaching Fiddler automatically is perilous for a bunch of reasons, but yes, it's technically possible to observe changes in the proxy setting for the current user and reattach if they change.
In CustomRules, add the following code:
static function DoReattach(o: Object, ea: EventArgs)
{
ScheduledTasks.ScheduleWork("reattach", 1000, innerReattach);
}
static function innerReattach()
{
FiddlerApplication.UI.actAttachProxy();
}
static function OnRetire()
{
FiddlerApplication.oProxy.remove_DetachedUnexpectedly(DoReattach);
}
FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);