In theory, if we use TDD, we would not need to debug an application, but:
In such cases, to debug an application node js enough two instructions:
In a terminal window.
npm install -g node-inspector
node-inspector &
And in another terminal window:
node --debug server.js
Then in the browser:
And to follow step by step to find the error!
No responses yet.