Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See network requests made by extensions in network tab of developer tools #39388

Closed
nicksnyder opened this issue Nov 30, 2017 · 10 comments
Closed
Labels
extensions Issues concerning extensions feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code

Comments

@nicksnyder
Copy link
Contributor

This would be useful to me both as a user (to see what extension are doing) and as a developer (to debug extensions).

screen shot 2017-11-30 at 3 13 27 pm

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Nov 30, 2017
@cleidigh cleidigh added the feature-request Request for new features or functionality label Nov 30, 2017
@mjbvz mjbvz added the *out-of-scope Posted issue is not in scope of VS Code label May 1, 2019
@vscodebot
Copy link

vscodebot bot commented May 1, 2019

This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

@vscodebot vscodebot bot closed this as completed May 1, 2019
@bestkanthed
Copy link

I would want the same

@itsdarrylnorris
Copy link

Same here.

@thakkarparth007
Copy link

+1

1 similar comment
@Fernando-Abreu
Copy link

+1

@zutshisunakshi
Copy link

Screenshot 2023-07-12 at 3 53 49 PM

I don't see any requests/response coming in network tab now, did anything change?

@tinkerology
Copy link

This really would be super helpful, especially for debugging extensions.

@aryamankha
Copy link

+1

1 similar comment
@supuwoerc
Copy link

+1

@RichardoC
Copy link

For anyone trying to do this, vscode doesn't support this but you can use a Man-In-The-Middle (MITM) proxy to capture all traffic from VScode, including from extensions.

Warning, this will capture all API calls including API tokens, and effectively disable HTTPS verfication so only use if you know what you're doing

Steps

  • Install Zap
  • Start ZAP, it'll set up a proxy running on http://localhost:8080
  • Configure VScode to use this proxy by setting the following settings
  • Now close Vscode, and reopen it from a terminal with code --ignore-certificate-errors
  • Inspect the traffic by following the quick start guide for ZAP

Why disable all these security features?

  • VScode will not trust the ZAP CA, even if it's added to the system certificate chain due to extensions ignoring some settings so we have to disable verification

When finished

  • Delete "http.proxy" setting
  • Close VScode
  • Reopen VS code normally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensions Issues concerning extensions feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests