Skip to content

Inspector not starting with --watch flag before #52704

Closed

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

  1. added
    inspector
    test_runner
    watch-mode
    and removed
    test_runner
    on Apr 26, 2024
  2. benjamingr commented on Apr 26, 2024

    @benjamingr
    Member
  3. MoLow commented on Apr 28, 2024

    @MoLow
    Member

    I Will try taking a look next week. might be related to the changes in #52358

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

    inspectorwatch-mode

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions