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 10 hangs when debug mode is enabled
To solve this problem, you can disable debug mode using these two built-in options of Windows 10: Let’s check these two options.
1] Using System Configuration
System Configuration tool (or MSConfig) in Windows 10 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: After that, your system should work fine.
2] Using Command Prompt
Follow these steps: Run Command Prompt as an administrator Execute the following command: Restart your computer. Now when you will log in to your Windows 10 computer, it shouldn’t hang and the mouse, applications, and other windows should run properly. Hope this helps.