Skip to content

Inspector not starting with --watch flag before #52704

Description

@franzgollhammer

Version

v22.0.0

Platform

Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64

Subsystem

No response

What steps will reproduce the bug?

Running a file with node --watch --inspect index.js will not start the inspector.

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior? Why is that the expected behavior?

Order of flags --watch --inpect should not matter (like in node v21.x)

What do you see instead?

Inspector not starting on port :9229

Additional information

When changing the order of flags from node --watch --inspect to node --inspect --watch the inspector starts on port :9229 like expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    inspectorIssues and PRs related to the V8 inspector protocol.watch-modeIssues and PRs related to watch mode.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions