Skip to content

debugger: propagate --debug-port= to debuggee

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix3345 into master

Before this commit node --debug-port=1234 debug t.js ignored the --debug-port= argument, binding to the default port 5858 instead, making it impossible to debug more than one process on the same machine that way.

This commit also reduces the number of places where the default port is hard-coded by one.

Fixes: https://github.com/nodejs/node/issues/3345

R=@indutny

CI: https://ci.nodejs.org/job/node-test-pull-request/550/

Merge request reports

Loading