Trying to build VS Code from source behind a corporate proxy. I've got everything to the point of the extensions (specifically native-watchdog) building, but when they go out to download the headers, they are failing due to being unable to validate the cert chain.
I'm driving myself up a wall here trying to figure out how to get the HttpProxyAgent to use the NODE_EXTRA_CA_CERTS env variable, and hoping someone here can point me in the right direction.
With --verbose enabled, I can clearly see the proxy being set up, and both ca: and certs: options are empty, but I can't figure out how to get those to use the env vars.
I can't modify the code to put them in manually, because the VS Code build process pulls down everything fresh every time. I'm currently working my way through figuring out the steps yarn takes to build everything (in the hopes of stopping the pulls, so I CAN patch the code locally and build code.exe), but yeah, turning to SO for help.
Thanks for any help y'all can provide!