Files
developer-roadmap/roadmaps/nodejs/content/using-debugger@XEGTeGWw05xWYOfUo3POE.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

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/)