From 84e11c18d5597c4903616ace1db6dffc4b7c39f1 Mon Sep 17 00:00:00 2001 From: Noj Vek Date: Wed, 15 Mar 2017 19:34:51 -0700 Subject: [PATCH] Fix #7065: cli help documentation for --inspect Adding documentation to node.1 and cli.md --- doc/api/cli.md | 21 +++++++++++++++++++++ doc/node.1 | 11 +++++++++++ 2 files changed, 32 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index 1153d9d3a258b1..5e6390335bfef1 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -94,6 +94,26 @@ Follows `require()`'s module resolution rules. `module` may be either a path to a file, or a node module name. +### `--inspect[=host:port]` + + +Activate inspector on host:port. Default is 127.0.0.1:9229. + +V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug +and profile Node.js instances. The tools attach to Node.js instances via a +tcp port and communicate using the [Chrome Debugging Protocol][]. + + +### `--inspect-brk[=host:port]` + + +Activate inspector on host:port and break at start of user script. + + ### `--no-deprecation`