Inspector not starting with --watch flag before #52704
Labels
inspector
Issues and PRs related to the V8 inspector protocol
watch-mode
Issues and PRs related to watch mode
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
tonode --inspect --watch
the inspector starts on port :9229 like expected.The text was updated successfully, but these errors were encountered: