One of my rigs keep complaining that "debugger detected" and stops. It can run for days but now and then it will get paranoid and stop. Windows 10.
in order to solve the issue, you have to specify in the batch arguments which architecture you are using. Example -NVidia (I am using a 1060 6GB) Happy Mining!

Have added -amd but the problem is still there. Is it Windows Defender that is causing this problem? I'll turn off real time protection and se how it goes.
My translation from a famous site:
fatal error debugger detected
Known bug in older versions of the program. In most cases, the following helps:
- download the latest version of the program
If for some reason you are using the old version of the program, the following helps:
- remove the built-in driver for the graphics card from the motherboard
- remove the AMD drivers from August 23 BETA blockchain and install the latest AMD Adrenaline drivers (18.3.1)
- enable calculation mode in them (open Radeon settings - games - global settings - video card - calculation mode)
Sometimes it also helps to add the -amd or -nvidia switch to the batch file.