* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
7 lines
549 B
Markdown
7 lines
549 B
Markdown
# node --inspect
|
|
|
|
The `--inspect` flag starts the Node.js process with a debugging interface enabled. You can then connect to it using Chrome DevTools or a compatible IDE like VS Code to set breakpoints, step through code, and inspect variables. Appending `--inspect-brk` pauses execution immediately, letting you debug from the very start of the process.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Debugging Node.js with Chrome DevTools](https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27) |