The image below shows VS Code's environment variables captured with the Process Explorer (on the left side) and the global environment variables (on the right side).
As you can see, NODE_OPTIONS is present, but its value is empty in VS Code. It should have inherited it as it does for other environment variables, as you can see here:
Could anyone please tell me what am I doing wrong?
There is a similar issue, but the answer for that does not stand for the case of max_old_space_size as you can see there in the links:
Why don't certain NODE_OPTIONS environment variable values such as --use-openssl-ca propagate to VS Code?
I also created an issue for this on github: https://github.com/microsoft/vscode/issues/179712
My question was answered in the github issue and as it turned out max_old_space_size setting is not supported. Answer on github (https://github.com/microsoft/vscode/issues/179712):
when Electron application is packaged only the following two NODE_OPTIONS are allowed
- --max-http-header-size
- --http-parser"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With