microsoft / microsoft/vscode-edge-devtools
No automatic proxy forwarding to launched Edge instance in corporate environments
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 827
- Forks
- 358
- Avg merge
- 20h 32m
- Merged PRs (30d)
- 10
Description
Environment
- OS: Windows 10/11 (corporate domain-joined)
- Extension version: latest
- VS Code: 1.90+
- Deployment: Behind corporate HTTPS proxy (NTLM/Kerberos or basic auth), proxy configured via system settings or
HTTPS_PROXYenv var
Description
When the extension launches an Edge instance via puppeteer (in launchBrowser in src/utils.ts), it does not automatically forward the OS-level proxy configuration to the launched browser. The browser is spawned without --proxy-server in its args unless the user manually adds it via the vscode-edge-devtools.browserArgs setting.
In corporate environments where all outbound traffic routes through a proxy, the embedded Edge instance cannot reach remote targets, and developers see connection failures with no actionable guidance.
The same issue applies to the --proxy-bypass-list flag — there is no way to exempt localhost from the proxy automatically.
Steps to Reproduce
- Configure a corporate proxy via Windows system proxy settings (or
HTTPS_PROXY/HTTP_PROXYenv vars). - Open a project in VS Code and launch the Edge DevTools extension browser preview.
- The launched Edge instance bypasses the system proxy and connection fails.
Expected Behavior
The extension should either:
- Detect and forward the OS/VS Code proxy settings (
http.proxy,HTTPS_PROXY) to the Edge launch args automatically as--proxy-server=<value>and--proxy-bypass-list=localhost, OR - Document clearly in README/settings description that users must manually add
--proxy-server=http://corp-proxy:8080viavscode-edge-devtools.browserArgsto use the extension behind a corporate proxy.
Actual Behavior
No proxy is forwarded. The browserArgs setting description does not mention proxy usage. Users in corporate environments discover this only after connection failures, with no guidance in logs or docs.
References
src/utils.ts:398-422—launchBrowserbuilds args fromgetBrowserArgs()only; no proxy derivation from env or VS Code settings- VS Code's own
http.proxysetting is not consulted here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/utils.ts:398-422, especially launchBrowser and getBrowserArgs, and review the browserArgs setting description. Decide whether the intended resolution is proxy forwarding or documentation, then verify that corporate proxy users receive working guidance or that the launched Edge instance receives the relevant proxy and bypass settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100