From ef617dcbb0e98156bd45fb6f2ea9da246f9c2e43 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Mon, 27 Jul 2020 18:53:13 -0300 Subject: [PATCH] debugger: add usage example for `--port` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/38400 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- lib/internal/inspector/_inspect.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/inspector/_inspect.js b/lib/internal/inspector/_inspect.js index b326a772fd39c9..dcfa74aed3efb9 100644 --- a/lib/internal/inspector/_inspect.js +++ b/lib/internal/inspector/_inspect.js @@ -340,6 +340,7 @@ function startInspect(argv = process.argv.slice(2), console.error(`Usage: ${invokedAs} script.js`); console.error(` ${invokedAs} :`); + console.error(` ${invokedAs} --port=`); console.error(` ${invokedAs} -p `); process.exit(1); }