Remote debugging with test signing off?

Hi,

I am trying to remote debug a Win 10 machine, but the problem is that i need test signing to be off.
But it seems like when i turn on the debug mode on the bcdedit, it causes the test signing to become on, even tho i have turned it off with the bcdedit -set TESTSIGNING off …

How can i remote debug while having the test signing to be off?
I even tried bcdedit /set loadoptions ENABLE_INTEGRITY_CHECKS, but still no luck…

This is the output of bcdedit :

C:\Windows\system32>bcdedit

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {95c55186-2f69-11eb-b8dc-b3fc1b8ada82}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.efi
description             Windows 10
locale                  en-US
loadoptions             ENABLE_INTEGRITY_CHECKS
inherit                 {bootloadersettings}
recoverysequence        {95c55188-2f69-11eb-b8dc-b3fc1b8ada82}
displaymessageoverride  Recovery
recoveryenabled         Yes
testsigning             No
isolatedcontext         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \Window
resumeobject            {95c55186-2f69-11eb-b8dc-b3fc1b8ada82}
nx                      OptIn
bootmenupolicy          Standard
usefirmwarepcisettings  No
debug                   Yes
s
resumeobject            {95c55186-2f69-11eb-b8dc-b3fc1b8ada82}
nx                      OptIn
bootmenupolicy          Standard
usefirmwarepcisettings  No
debug                   Yes

It doesn’t turn /testsigning on, but attaching the kernel debugger disables signature checking. That’s a “feature”. What are you trying to learn here?