Skip to content

node --inspect-brk --debug prints incorrect error message #28588

@fasttime

Description

@fasttime
  • Version: 12.6.0
  • Platform: Darwin 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
$ node --inspect-brk --debug
node: [DEP0062]: `node --inspect --debug-brk` is deprecated. Please use `node --inspect-brk` instead.

Two issues here. The error message suggests that node was called with options --inspect and --debug-brk which is not the case. And it recommends using --inspect-brk instead, one of the options actually used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions