Skip to content

NODE_OPTIONS do not work properly anymore #22526

Closed
@BridgeAR

Description

@BridgeAR

Seems like #22392 broke NODE_OPTIONS parsing.

Example:

> NODE_OPTIONS='-r logger.js --trace-events-enabled --trace-event-categories node.async_hooks' ./node

./node: --trace-events-enabled --trace-even is not allowed in NODE_OPTIONS

> NODE_OPTIONS='--trace-events-enabled --trace-event-categories node.async_hooks' ./node

./node: --trace-event-categories node.async_hooks is not allowed in NODE_OPTIONS

cc @addaleax

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.cliIssues and PRs related to the Node.js command line interface.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions