visual studio 2015 vshub is spamming fiddler

前端 未结 8 2074
慢半拍i
慢半拍i 2020-12-12 10:56

I have read: How do I disable VsHub.exe in the system tray? and https://connect.microsoft.com/VisualStudio/feedback/details/1919828/hundreds-of-calls-second-to-vshub-and-bro

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 11:26

    The above didn't work for me, as such. It seemed to shut down ALL fiddler monitoring of the localhost host.

    A bit of judicious googling gave me another solution - to block the port specifically by adding this to the bottom of the OnBeforeRequest section:

    if (oSession.host=="localhost:49155"){
        oSession["ui-hide"] = "true";
    }
    

    This seems to block the port from being reported in Fiddler, without disrupting further localhost traffic.

提交回复
热议问题