How to debug IE9 HTA?

TJR picture TJR · Mar 22, 2011 · Viewed 10.8k times · Source

Has anyone gotten a debugger attached to mshta.exe after installing IE9? (64bit or WOW64)

Answer

earlNameless picture earlNameless · Mar 21, 2013

If you have Visual Studio, go to Tools -> Attach to Process and attach to the MSHTA.EXE process. Then pick Script as the target to debug.