Spent many hours on this. Here’s what worked for me.
- Close VS and IE.
- Run cmd like a boss (as Administrator)
- Type in
regsvr32 “C:\Program Files (x86)\Common Files\microsoft shared\VS7Debug\pdm.dll”
regsvr32 “C:\Program Files (x86)\Common Files\microsoft shared\VS7Debug\msdbg2.dll”
- Open regedit and navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- Create a DWORD(32) value named TabProcGrowth. Leave the value as 0.
- Launch VS, script debugging should now work.