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

Support V8 --async-stack-traces in NODE_OPTIONS #35627

Closed
jansepke opened this issue Oct 13, 2020 · 4 comments
Closed

Support V8 --async-stack-traces in NODE_OPTIONS #35627

jansepke opened this issue Oct 13, 2020 · 4 comments

Comments

@jansepke
Copy link

Is your feature request related to a problem? Please describe.
I would like set the V8 --async-stack-traces option through the NODE_OPTIONS environment variable.

Describe the solution you'd like
NODE_OPTIONS="--async-stack-traces" node should not throw the Error --async-stack-traces is not allowed in NODE_OPTIONS

Describe alternatives you've considered
setting --async-stack-traces as a command line argument is not possible in controlled environment like AWS Lambda (which only support NODE_OPTIONS)

@targos
Copy link
Member

targos commented Oct 13, 2020

This flag is enabled by default in V8. You do not need to pass it.

@jansepke
Copy link
Author

Also in nodejs v12 ?

@targos
Copy link
Member

targos commented Oct 13, 2020

Yes:

DEFINE_BOOL(async_stack_traces, true,

@jansepke
Copy link
Author

Ok, thanks. Then it seems to be a problem with my code or with the AWS SDK.

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

No branches or pull requests

2 participants