-
Notifications
You must be signed in to change notification settings - Fork 30k
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: no crash when WS server can't start #10878
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This doesn't change the default behavior of binding to 127.0.0.1, does it?
@bnoordhuis - it will bind to 127.0.0.1 as per https://github.com/nodejs/node/blob/master/src/node_debug_options.cc#L62 - the fact that host was hardcoded was an oversight. |
CI is green - https://ci.nodejs.org/job/node-test-pull-request/5939/ - even though the GitHub integration shows failure on ARM... |
CI: https://ci.nodejs.org/job/node-test-pull-request/5957/ (all green, despite what GitHub shows) |
This change also changes error message to make it consistent with the one printed by the debugger. Fixes: nodejs#10858 PR-URL: nodejs#10878 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This change also changes error message to make it consistent with the one printed by the debugger. Fixes: nodejs#10858 PR-URL: nodejs#10878 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
A backport PR is required in order for this to land on v6 |
This change also changes error message to make it consistent with the
one printed by the debugger.
Fixes: #10858
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
inspector: now it uses host name from the debug options. Messages were slightly altered.