From e5b10f7a1f42577e420d000d7283ae719529d54e Mon Sep 17 00:00:00 2001 From: tkolleh Date: Tue, 28 Jul 2020 01:44:44 -0400 Subject: [PATCH] node: use consistent path and clarify options --- pages/common/node.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/node.md b/pages/common/node.md index a45edfabdf..f3f96c7eb8 100644 --- a/pages/common/node.md +++ b/pages/common/node.md @@ -5,7 +5,7 @@ - Run a JavaScript file: -`node {{file}}.js` +`node {{path/to/file}}` - Start a REPL (interactive shell): @@ -19,6 +19,6 @@ `node -p "{{process.versions}}"` -- Enable Node's inspector agent and pause execution until a debugger is connected. Source code is fully compiled: +- Enable Node's inspector agent and pause execution until a debugger is connected. Prevent delayed (lazy) parsing of source code: -`node --no-lazy --inspect-brk {{file}}.js` +`node --no-lazy --inspect-brk {{path/to/file}}`