Skip to content

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

@jansepke

Description

@jansepke

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions