summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorflickz <omoyajowo2015@gmail.com>2018-02-11 20:21:09 +0100
committerMatheus Marchini <matheus@sthima.com>2018-02-26 08:51:54 -0300
commit65ca369c070cefcaf6300a234de6448f3015e8e8 (patch)
tree23635129a1c9843899b3ef53d939e3e763584733 /doc
parent8b518edf114446eedc3f0f828e78d9eae6f74af2 (diff)
downloadandroid-node-v8-65ca369c070cefcaf6300a234de6448f3015e8e8.tar.gz
android-node-v8-65ca369c070cefcaf6300a234de6448f3015e8e8.tar.bz2
android-node-v8-65ca369c070cefcaf6300a234de6448f3015e8e8.zip
doc: add process.debugPort to doc/api/process.md
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 <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/process.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index 6015bb2cc4..2f12b7a14a 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
+<!-- YAML
+added: v0.7.2
+-->
+* {number}
+The port used by Node.js's debugger when enabled.
+
+```js
+process.debugPort = 5858;
+```
## process.disconnect()
<!-- YAML
added: v0.7.2