Debugging mode is an advanced troubleshooting option in Windows that helps to find and resolve errors in the system. Once enabled, system administrators can use it to connect with debuggers like Windows Debugger (or WinDbg) tool. However, some users face this issue where Windows 11/10 hangs when debug mode is enabled. If you also face this problem, this post can help you fix it.
This problem may occur when debugging mode is enabled permanently or for a long time and it is not connected with a debugger tool. Debug mode should only be enabled when you need to connect with the debugger tool to troubleshoot and you should turn it off once the purpose is served. If debug mode remains idle, the system keeps waiting for the debugger, and it can result in a system hang. So, to resolve such an issue, you just need to disable debug mode when your work is done. This post can will help you how to do that.
Windows PC hangs when debug mode is enabled
To solve this problem, you can disable debug mode using these two built-in options of Windows 11/10:
- Using System Configuration
- Using Command Prompt.
Let’s check these two options.
1] Using System Configuration
System Configuration tool (or MSConfig) in Windows lets you access and use many important options like startup selection, BOOT Advanced options, disable Microsoft services, etc. It is also helpful in disabling debug mode. Here are the steps:
- Click on the Search box of Windows
- Type msconfig or system configuration
- Press Enter key
- Access Boot tab in System Configuration window
- Uncheck Debug option in BOOT Advanced Options window
- Press OK button
- Click on Apply button
- Click on the OK button
- Restart your computer.
After that, your system should work fine.
2] Using Command Prompt
Follow these steps:
Run Command Prompt as an administrator
Execute the following command:
bcdedit -debug off
Restart your computer.
Related: Fix Windows hangs or freezes.
Now when you will log in to your Windows computer, it shouldn’t hang and the mouse, applications, and other windows should run properly.
I hope this helps.