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

NODE_OPTIONS set in extension host process #2010

Closed
chrmarti opened this issue May 16, 2024 · 2 comments
Closed

NODE_OPTIONS set in extension host process #2010

chrmarti opened this issue May 16, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@chrmarti
Copy link

I see NODE_OPTIONS set to ' --require "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/bootloader.js"' in the extension host process when debugging an extension. This results in a Node.js environment variables are disabled because this process is invoked by other apps. error when spawning new Node processes using Electron. Similar to microsoft/vscode#204005.

@chrmarti chrmarti added the bug Issue identified by VS Code Team member as probable bug label May 16, 2024
@connor4312
Copy link
Member

This is intended, because setting this option allows debugging child processes spawned by the extension host.

@connor4312 connor4312 added info-needed Issue requires more information from poster labels May 16, 2024
@chrmarti
Copy link
Author

Ack, turns out it's only a warning anyway. Closing, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants