How do set Microsoft Script Editor as the default script debugger
Question
How do I select which debugger is triggered for JIT debugging when a script error occurs in Internet Explorer. Currently I have both Visual Studio and Microsoft Script Editor installed on my machine. However, only the Visual Studio debugger comes up and I prefer to use Microsoft Script Editor as the default script debugger.
Answer
The default script debugger can be set in the registry directly. To do so, follow these steps:
- Click Start, Run and type regedit.exe
- Navigate to the following branch:
HKEY_CLASSES_ROOT \ CLSID \ {834128A2-51F4-11D0-8F20-00805F2CD064} \ LocalServer32
- Backup the branch by exporting it to a file
- In the above key, double-click (default) and set its value data to:
C:\Program Files\Microsoft Script Debugger\msscrdbg.exe
- Exit the Registry Editor.
Enjoyed the post? Subscribe to our feed to get frequent updates. We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems! (Click on the Feed icon on the left and subscribe.)
If you prefer an Email subscription, here is the subscription form:
