Just-In-Time Debugging in Visual Studio 禁止VS在服务器上调试

To disable Just-In-Time debugging by editing the registry

  1. On the Start menu, search for and run regedit.exe

  2. In the Registry Editor window, locate and delete the follow registry entries:

    • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebugDebugger

    • HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkDbgManagedDebugger

  3. If your computer is running a 64-bit operating system, delete the following registry entries also:

    • HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebugDebugger

    • HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFrameworkDbgManagedDebugger

  4. Take care not to accidentally delete or change any other registry keys.

  5. Close the Registry Editor window.

原文地址:https://www.cnblogs.com/mqingqing123/p/7771655.html