1
0
Fork 0
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:
tkolleh 2020-07-28 01:44:44 -04:00 committed by Starbeamrainbowlabs
parent d6199ecf7d
commit e5b10f7a1f

View file

@ -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}}`