---
title: "Comment by Semir Teskeredzic on \"Best Practices for Debugging in Node.js\" | Hashnode"
description: "Quite educational piece on debugging in Node Amnah, good job! One thing that could be super useful is to use a flag --inspect-brk which will break the execution"
url: "https://hashnode.com/posts/best-practices-for-debugging-in-nodejs/6406ca74cf80b647b4e87d1a/comment/6406ec29c9fcfad441631ebe"
---

[Discussion](https://hashnode.com/posts/best-practices-for-debugging-in-nodejs/6406ca74cf80b647b4e87d1a)

Comment [Best Practices for Debugging in Node.js](https://hashnode.com/posts/best-practices-for-debugging-in-nodejs/6406ca74cf80b647b4e87d1a)

[Semir Teskeredzic](https://hashnode.com/@semirte)

[Mar 7, 2023](https://hashnode.com/posts/best-practices-for-debugging-in-nodejs/6406ca74cf80b647b4e87d1a/comment/6406ec29c9fcfad441631ebe)

Quite educational piece on debugging in Node Amnah, good job! One thing that could be super useful is to use a flag --inspect-brk which will break the execution immediately so you can place your breakpoints and debug. It was a revelation for me to find out Node debugging through that green button on DevTools.

[Amnah khatun](https://hashnode.com/@amnah)

[Mar 8, 2023](https://hashnode.com/posts/best-practices-for-debugging-in-nodejs/6406ca74cf80b647b4e87d1a/comment/6406ec29c9fcfad441631ebe#reply-640816b7bdde4ade71258338)

thank you. Glad you liked it.
