Microsoft provides Script Editor to help debug JavaScript in IE. However, it is not part of the standard install of MS Office, at least not when I installed it this morning. Had add components under Advanced > Office Tools > HTML Source Editing. JonathanBoutelle explains how to debug. Note: after installing you need to close and restart IE.