All modern browsers have a built-in JavaScript debugger.

So how do you invoke the debugger programmatically in Javascript Apps to debug delegates you may ask.

The good news is it's easy and works across Desktop, Web and Mobile Apps.

Just place this code at the top of your JavaScript delegate.

Code:
debugger;
Enjoy.