| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
LGTM |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
Sorry, something went wrong.
|
@ofrobots just making sure I am reading this change correctly individuals will now be able to pass a custom port to the inspector with --debug-port? |
Sorry, something went wrong.
There was a problem hiding this comment.
So before the instance is started it will have a port of 0?
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
The port value is actually provided at the time Agent::Start is called. This happened to be the default initialization of the field and the value of 9229 was never getting used. This clean it up to be zero-initialized instead.
Sorry, something went wrong.
|
FYI 9229 is not reserved. As well as palindromic. :) |
Sorry, something went wrong.
Users can still provide a custom port with --inspect=9222. --debug-port=9222 also works, as long as --inspect is also provided. |
Sorry, something went wrong.
|
The issues on ARM in the CI look like infrastructure issues. Will land this soon. |
Sorry, something went wrong.
We should use a different default port number for the new debug protocol. This makes it easier for debuggers to guess which protocol they are expected to use to talk to a node process with a debug server. PR-URL: nodejs#7212 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
We should use a different default port number for the new debug protocol. This makes it easier for debuggers to guess which protocol they are expected to use to talk to a node process with a debug server. PR-URL: #7212 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
inspector
Description of change
We should use a different default port number for the new debug
protocol. This makes it easier for debuggers to guess which protocol
they are expected to use to talk to a node process with a debug
server.