mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 12:35:24 +02:00
node: use consistent path and clarify options
This commit is contained in:
parent
d6199ecf7d
commit
e5b10f7a1f
1 changed files with 3 additions and 3 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue