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

fix(ext/node): support NODE_DEBUG env #23583

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

satyarohith
Copy link
Member

@satyarohith satyarohith commented Apr 27, 2024

Previously we didn't support NODE_DEBUG environment variable due to issues in snapshot process. The issue is solved by initializing the logger during bootstrap which is not included in the snapshot allowing the build to work.

@satyarohith satyarohith enabled auto-merge (squash) April 27, 2024 15:00
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a simple spec test that uses this env var and makes sure that something is logged? Eg. you can use streams API

@satyarohith satyarohith merged commit b844406 into main Apr 29, 2024
17 checks passed
@satyarohith satyarohith deleted the satya/support_node_debug branch April 29, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants