diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-02 04:44:32 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-04 12:30:36 +0300 |
commit | 237cbe10fb82ba6ec69b14193a4a970e184306e7 (patch) | |
tree | 8fbbac215e1f9afcac524404e766c4157d8da145 /doc/api/inspector.md | |
parent | f7049a20068dc8a7e904b7cdd3d5b307b595dd3a (diff) |
doc,tools: formalize, unify, codify default values
PR-URL: https://github.com/nodejs/node/pull/19737
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/inspector.md')
-rw-r--r-- | doc/api/inspector.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 9dafdb7e1b3..8a6dc188b08 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -14,12 +14,12 @@ const inspector = require('inspector'); ## inspector.open([port[, host[, wait]]]) -* port {number} Port to listen on for inspector connections. Optional, - defaults to what was specified on the CLI. -* host {string} Host to listen on for inspector connections. Optional, - defaults to what was specified on the CLI. -* wait {boolean} Block until a client has connected. Optional, defaults - to false. +* `port` {number} Port to listen on for inspector connections. Optional. + **Default:** what was specified on the CLI. +* `host` {string} Host to listen on for inspector connections. Optional. + **Default:** what was specified on the CLI. +* `wait` {boolean} Block until a client has connected. Optional. + **Default:** `false`. Activate inspector on host and port. Equivalent to `node --inspect=[[host:]port]`, but can be done programmatically after node has |