Manually set a breakpoint in safari (and in chrome on OSX)

To manually set a breakpoint add the line ‘debugger;’

So if I have some js in an onclick, and I’m trying to look at the scope there, just add ‘debugger;’ to the onclick.


click me

Leave a Reply

You must be logged in to post a comment.