inspector: no crash when WS server can't start#10878
inspector: no crash when WS server can't start#10878eugeneo merged 1 commit intonodejs:masterfrom eugeneo:no-assert
Conversation
bnoordhuis
left a comment
There was a problem hiding this comment.
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... |
This change also changes error message to make it consistent with the one printed by the debugger. Fixes: #10858 PR-URL: #10878 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
|
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: #10858 PR-URL: #10878 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
|
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.