From 88adf767ba37355c97b797ebfd670ed1d6842fe9 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 74d9fb0cc1532e..a56bd36b5a2931 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -631,7 +631,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()