Last active
March 28, 2024 07:30
-
-
Save yellinben/a4cc92d0b2a2164880c1a82a89cf57e1 to your computer and use it in GitHub Desktop.
Allow HTTP proxy in VS Code & Copilot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Add these settings at the end of VSCode's `settings.json` file to allow HTTP inspection. | |
// For use with any MITM, self-signed HTTP proxy (Proxyman, Charles, Fiddler, etc). | |
// Last tested on VSCode 1.78.2. It's possible security settings will be hardened in future releases. | |
// Make sure to enable SSL-proxying of relevant hostnames to intercept complete requests/responses. | |
// For Copilot: `copilot-proxy.githubusercontent.com` | |
// These settings are obviously not secure, so disable them when not needed! | |
{ | |
/* rest of your vscode settings */ | |
"http.proxy": "http://[HOST]:[PORT]", | |
"http.proxyStrictSSL": false, | |
"http.proxySupport": "on", | |
"debug.javascript.resourceRequestOptions": { | |
"https": { "rejectUnauthorized": false } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment