All of us know this. Just posting for quick (on the go) reference.For those folks who are not aware how to debug pop-ups. Save the below 3 lines of code in a notepad. Drag this notepad on top of the pop-up screen, the debugger gets activated.
Image source : www.thehollywoodnews.com