You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node inspect restart prints Debugging/For-help message twice #39272
$ node inspect test/fixtures/debugger/three-lines.js < Debugger listening on ws://127.0.0.1:9229/b7e232ed-227e-4482-864d-e58a37e4bc94< < For help, see: https://nodejs.org/en/docs/inspector< < Debugger attached.< okBreak on start in test/fixtures/debugger/three-lines.js:1
> 1 let x = 1; 2 x = x + 1; 3 module.exports = x;debug> restart< Debugger listening on ws://127.0.0.1:9229/b7e232ed-227e-4482-864d-e58a37e4bc94< For help, see: https://nodejs.org/en/docs/inspector< < Debugger listening on ws://127.0.0.1:9229/d0c753b1-e93a-48e5-8323-df845d308bcd< For help, see: https://nodejs.org/en/docs/inspector< connecting to 127.0.0.1:9229 ... ok< Debugger attached.< Break on start in test/fixtures/debugger/three-lines.js:1
> 1 let x = 1; 2 x = x + 1; 3 module.exports = x;debug>
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
After issuing restart in the debugger CLI, it will only print "Debugger listening on...For help..." message once.
What do you see instead?
It repeats the initial message from the start of the session, then issues the correct second message.
Activity
test: add test for debugger restart message issue
debugger: indicate server is ending
test: add test for debugger restart message issue
debugger: indicate server is ending