I have a facebook app using a lot of Javascript that doesn’t work correctly in IE (8 and 9), so I’d like to use a debugger. Unfortunately, the IE JS debugger doesn’t allow you to choose Javascript files running in an iFrame, and I can’t run it directly since then the facebook autorization doesn’t work.
Is there a way to get the IE developer tools to recognize Javascript running inside an iFrame?
First make sure you are debugging under the script tab, then search for the function you want to set a breakpoint on. It should highlight/find the script file.
I use IE Developer Tools to debug a IFrame based application on a regular basis.
Do the scripts from other domains show up in the source explorer (beside the debugging button) under the script tab?
Edit:
Using a this simple test I confirmed IE Developer Tools will load scripts on external domains: