From 6f73081870ca9941610c0ac4ddffd960a27da4db Mon Sep 17 00:00:00 2001 From: Sergey Chernyshev Date: Thu, 25 Apr 2024 04:20:15 +0200 Subject: [PATCH] doc: add description for `--port` flag of `node inspect` PR-URL: https://github.com/nodejs/node/pull/48785 Reviewed-By: Kohei Ueno Reviewed-By: Luigi Pinca --- graal-nodejs/lib/internal/debugger/inspect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graal-nodejs/lib/internal/debugger/inspect.js b/graal-nodejs/lib/internal/debugger/inspect.js index b0a86f8c494..2522c6f34fc 100644 --- a/graal-nodejs/lib/internal/debugger/inspect.js +++ b/graal-nodejs/lib/internal/debugger/inspect.js @@ -331,7 +331,7 @@ function startInspect(argv = ArrayPrototypeSlice(process.argv, 2), process.stderr.write(`Usage: ${invokedAs} script.js\n` + ` ${invokedAs} :\n` + - ` ${invokedAs} --port=\n` + + ` ${invokedAs} --port= Use 0 for random port assignment\n` + ` ${invokedAs} -p \n`); process.exit(1); }