From c4650de7c7ef540f99ea682e6e23d19838fd3e5c Mon Sep 17 00:00:00 2001 From: Manoj Patel Date: Tue, 31 May 2016 17:08:46 -0700 Subject: [PATCH] Fixes #7065: cli help documentation for --debug and --debug-brk --- doc/api/cli.md | 14 ++++++++++++++ doc/api/debugger.md | 4 ++++ doc/node.1 | 8 ++++++++ src/node.cc | 5 +++-- 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index e40ddada742bbe..846951edabccf2 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -107,6 +107,20 @@ added: v0.11.14 Throw errors for deprecations. +### `--debug=` + + +listen for debugger commands on user specified port. If port is not specified e.g `--debug` then use 5858 as default. + +### `--debug-brk=` + + +same as --debug but break on first line waiting for a client to connect. + ### `--no-warnings`