Have you ever wish to debug your javascript code?
Well, it’s possible and easy to do.
You just have to add the line
debugger;
where you want the breakpoint to stop and ensure that the “disable javascript” option in your Internet Options is not checked.