Registry

How to set Default Script Debugger using Registry in Windows 10

How to set Default Script Debugger using Registry in Windows 10

When it comes to script debugging in Windows, you have a variety of options to do. Internet Explorer itself is a good way to carry out script debugging. Personally, I use it to debug scripts, and it works great in this field. But yesterday, my friend installed Visual Studio on my machine. Visual Studio, on its own set itself as the default debugger. Now the issue was that I was not aware of how to debug using Visual Studio at the moment. And there was some urgent debugging work I had to carry out.

So the question was, how I could deselect Visual Studio as the default debugger and choose the native Microsoft Script Debugger, in using which I was comfortable. Then I did the registry trick mentioned below which helped me significantly in achieving my objective. Using this trick, you can easily select any program as a script debugger, make sure it can do so.

Set Default Script Debugger in Windows 10

1. Press Windows Key + R combination, type put Regedt32.exe in Run dialog box and hit Enter to open the Registry Editor.

 

2. Navigate to the following location:

HKEY_CLASSES_ROOT\CLSID

3. In the left pane of this location, right-click over key CLSID and select New -> Key. Name the newly created key as:

 834128A2-51F4-11DO-8F20-00805F2CD064

Now create the subkey to this newly created key and name it LocalServer32.

Now came to the right pane of this subkey LocalServer32 or registry location:

 HKEY_CLASSES_ROOT\CLSID\834128A2-51F4-11DO-8F20-00805F2CD064\LocalServer32

Double click on the (Default) string (REG_SZ) there. The Value data of this string manages the default script program for Windows. You'll now get this:


4. In the above box, put the Value data as the file location of the program which you desire to be as default script debugger.

For example, to restore native Microsoft Script Editor, I put the Value data as C:\Program Files\Microsoft Script Debugger\msscrdlbg.exe.

Here C: is necessarily the system root drive. When you're done inputting Value data, click OK and you may now close the Registry Editor and reboot the machine to get results.

Trust it helps you someday!

Middle mouse button not working in Windows 10
The middle mouse button helps you scroll through long webpages and screens with a lot of data. If that stops, well you will end up using the keyboard ...
How to change Left & Right mouse buttons on Windows 10 PC
It's quite a norm that all computer mouse devices are ergonomically designed for right-handed users. But there are mouse devices available which are s...
Emulate Mouse clicks by hovering using Clickless Mouse in Windows 10
Using a mouse or keyboard in the wrong posture of excessive usage can result in a lot of health issues, including strain, carpal tunnel syndrome, and ...