5
votes

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.

Thanks

1
What is VS Code traffic? What do you expect to capture?Gino Mempin
Have you tried to manually configure Fiddler as Proxy in VS Code? (localhost:8888)Robert
I want to capture any Request/Response calling any API. This is a very helpful way for debugging between different teams.PouyanParyas
@Robert, thanks, setting http://localhost:8888 as proxy in VS Code solves problem for me. I'm using marketplace.visualstudio.com/items?itemName=humao.rest-client extension to sent http requests and wanted to capture traffic with fiddler. I'm not sure about authors' use case.andrew

1 Answers

4
votes

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

  1. In VS Code, go to File -> Preferences -> Settings
  2. In the settings Search field, type in "proxy"
  3. Set the "Http: Proxy" setting to "http://localhost:8888"