diff options
author | Gibson Fahnestock <gibfahn@gmail.com> | 2017-03-28 16:54:30 +0100 |
---|---|---|
committer | Gibson Fahnestock <gibfahn@gmail.com> | 2017-04-04 10:26:00 +0100 |
commit | 2d2970e3cbed0decb5cb64a6a8238c5e89ccfe3a (patch) | |
tree | 459935015cd3b08b4bb6a81449e6e303df2ddb53 /src | |
parent | d51f4f31be2c36f5fb8a8ca8e17597178313d1ae (diff) | |
download | android-node-v8-2d2970e3cbed0decb5cb64a6a8238c5e89ccfe3a.tar.gz android-node-v8-2d2970e3cbed0decb5cb64a6a8238c5e89ccfe3a.tar.bz2 android-node-v8-2d2970e3cbed0decb5cb64a6a8238c5e89ccfe3a.zip |
doc, inspector: note that the host is optional
Document that `node --inspect=${port}` is also a viable option.
PR-URL: https://github.com/nodejs/node/pull/12149
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/node.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node.cc b/src/node.cc index f1a3493bf1..2c937b298e 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3541,9 +3541,10 @@ static void PrintHelp() { " -r, --require module to preload (option can be " "repeated)\n" #if HAVE_INSPECTOR - " --inspect[=host:port] activate inspector on host:port\n" + " --inspect[=[host:]port] activate inspector on host:port\n" " (default: 127.0.0.1:9229)\n" - " --inspect-brk[=host:port] activate inspector on host:port\n" + " --inspect-brk[=[host:]port]\n" + " activate inspector on host:port\n" " and break at start of user script\n" #endif " --no-deprecation silence deprecation warnings\n" |