Best Practices for Debugging in Node.js
An important part of development is the ability to make the application bug-free and defect-free. It is almost impossible to write a perfect application, but we follow TDD (test-driven development), which helps us test our code before running. If som...
amnah.com5 min read
Semir Teskeredzic
Functional consultant by day, Frontend dev by night
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.