Node.js - Debugging and Profiling
Given this code snippet with debugger statements:
What happens when you run
function add(a, b) {
debugger;
return a + b;
}
console.log(add(2, 3));What happens when you run
node inspect script.js on this file?