Using core debugger
Node.js provides a build in non graphical debugging utility. To start the build in the debugger, start the application with this command:
node debug filename.js
Consider the following simple Node.js application contained in the debugDemo.js
'use strict';
function addTwoN...