From b456e319645c5122bccfd86358c81c0febda1fad Mon Sep 17 00:00:00 2001 From: flickz Date: Sun, 11 Feb 2018 20:21:09 +0100 Subject: [PATCH] doc: add process.debugPort to doc/api/process.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/18639 PR-URL: https://github.com/nodejs/node/pull/18716 Refs: https://github.com/nodejs/node/issues/18639 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Matheus Marchini Reviewed-By: Benjamin Gruenbaum Reviewed-By: Tobias Nießen --- doc/api/process.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/api/process.md b/doc/api/process.md index 8e0da34110b437..c0cac3b641580f 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -621,7 +621,17 @@ process. ```js console.log(`Current directory: ${process.cwd()}`); ``` +## process.debugPort + +* {number} +The port used by Node.js's debugger when enabled. + +```js +process.debugPort = 5858; +``` ## process.disconnect()