How to set breakpoint in javascript application?
Javascript has a debugger
which can be used to set the breakpoints in your application.
For example, in the below code it will set the breakpoint after var c = a + b;
is executed.
function FindBug(a, b) {
var c = a + b;
debugger;
...
}
Further Reading :