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()