本文介绍了如何通过Fiddler捕获Visual Studio Code流量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何通过Fiddler捕获VS Code流量?我运行了Fiddler,看起来工作正常.它可以捕获浏览器的流量,但不能捕获VS Code的流量.如果有人可以给我解决方案,我将非常感谢.

How can we capture VS Code traffic through Fiddler? I ran my Fiddler and seems working fine. It could capture browsers' traffic but not VS Code traffic.I really appreciate if anyone can give me the solution for that.

谢谢

推荐答案

假设您使用的是REST客户端插件,并且想捕获流量,这对我有用:

Assuming that you are using some REST client plugin and want to capture the traffic, This worked for me:

  1. 在VS Code中,转到文件"->首选项"->设置"
  2. 在设置搜索"字段中,输入代理"
  3. 将"Http:代理"设置设置为" http://localhost:8888 "

这篇关于如何通过Fiddler捕获Visual Studio Code流量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:49