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
I am not sure which is the correct behavior for an intercepted SIGUSR1, the documentation or the a test case. Can the code and/or documentation please be fixed?
If you send a SIGUSR1 only Got SIGUSR1 is printed. The typical Debugger listening on ws://127.0.0.1:9229/66fb119d-2443-4bdf-80b1-6386995ba253 is not printed. You can also verify that the debugger didn't start with with netstat -ap.
It depends on when the inspector is started. If it's activated at startup, then the JS code will override it. If it's activated later, it subsumes the JS listener.
I think right now it's always started early (require('inspector').open() uses a different mechanism) but it hasn't always been that way and it could change again in the future.
I'd use guarded language: "It's possible to install a listener but doing so might interfere with the debugger."
Activity
targos commentedon Mar 26, 2018
@nodejs/v8-inspector
bnoordhuis commentedon Mar 27, 2018
It depends on when the inspector is started. If it's activated at startup, then the JS code will override it. If it's activated later, it subsumes the JS listener.
I think right now it's always started early (
require('inspector').open()uses a different mechanism) but it hasn't always been that way and it could change again in the future.I'd use guarded language: "It's possible to install a listener but doing so might interfere with the debugger."
willhayslett commentedon Mar 30, 2018
@bnoordhuis please let me know if the changes are okay or if additional edits are needed. Thanks.
doc: updated language around adding listens on SIGUSR1
mlucool commentedon Apr 2, 2018
@bnoordhuis Do you expect this to always work/enable me to set the port at runtime?
doc: update to adding listens on SIGUSR1
doc: update to adding listens on SIGUSR1
doc: update to adding listens on SIGUSR1