How to debug in Node?
Mostly we use console.log() but as mentioned above, it is not always a good practice. We can use a V8 inspector for it.
Node Debugging
Debugging is a concept to identify and remove errors from software applications. In this article, we will learn about the technique to debug a Node application.
Table of Content
- Why not to use console.log()?
- How to debug in Node?
- Steps for debugging in Node
- Additional Debugging APIs
- Drive with DevTools Protocol via WS port
- DevTools Protocol via require(‘inspector’)
Contact Us