* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
9 lines
657 B
Markdown
9 lines
657 B
Markdown
# Using Debugger
|
|
|
|
Node.js includes a built-in debugger that can be activated with the `--inspect` flag or the `debugger` keyword in code. It lets you pause execution, step through code, and inspect variables at runtime using Chrome DevTools or a compatible IDE. Using a debugger is more efficient than adding `console.log` statements throughout the code.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@official@Debugger](https://nodejs.org/api/debugger.html)
|
|
- [@official@Inspect Docs](https://nodejs.org/en/learn/getting-started/debugging)
|
|
- [@article@Freecodecamp.org - Debugging](https://www.freecodecamp.org/news/how-to-debug-node-js-applications/) |