Trigger breakpoint in Javascript

To trigger breakpoint in Javascript, you can add a 'debugger' in your code. For example:

function testing() {
    alert(123);
    debugger;
    alert(456);
}

The debugger will be triggered at runtime.

Comments

Popular posts from this blog

Java encoding : UTF-8, Big5, x-MS950-HKSCS