Question

Using any JS dev tools is there a way to programmatically create a debugger break point? I'm using chrome, but don't mind to switch to a different environment supporting the feature.

Was it helpful?

Solution

It never was so simple. Anywhere you want in JS place the statement:

debugger;

If the Chrome debugger is open, it will break there.

OTHER TIPS

Use alert() , that should do the trick.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top