diff --git a/doc/api/process.md b/doc/api/process.md index 6015bb2cc414be..2f12b7a14a41a4 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()