Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspector not starting with --watch flag before #52704

Closed
franzgollhammer opened this issue Apr 26, 2024 · 2 comments · Fixed by #52760
Closed

Inspector not starting with --watch flag before #52704

franzgollhammer opened this issue Apr 26, 2024 · 2 comments · Fixed by #52760
Labels
inspector Issues and PRs related to the V8 inspector protocol watch-mode Issues and PRs related to watch mode

Comments

@franzgollhammer
Copy link

franzgollhammer commented Apr 26, 2024

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.

@cola119 cola119 added inspector Issues and PRs related to the V8 inspector protocol test_runner Issues and PRs related to the test runner subsystem. watch-mode Issues and PRs related to watch mode and removed test_runner Issues and PRs related to the test runner subsystem. labels Apr 26, 2024
@benjamingr
Copy link
Member

@MoLow

@MoLow
Copy link
Member

MoLow commented Apr 28, 2024

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
Labels
inspector Issues and PRs related to the V8 inspector protocol watch-mode Issues and PRs related to watch mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants