Also see Setting up a Windows machine for drivers and minifilters, testing and debugging using VirtualKD-Redux.

bcdedit /debug on
bcdedit -set testsigning on

Install your driver or minifilter

debugging

BCDEdit /dbgsettings - Windows drivers

PS C:\\Program Files\\SubconsciousShield> ipconfig

Windows IP Configuration

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::a417:7361:13b4:cac3%3
   IPv4 Address. . . . . . . . . . . : 10.0.2.15
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.2.2
PS C:\\Program Files\\SubconsciousShield>
[dilaw@Dilawar-SUBCOM shield (main)]$ find /c/Program\\ Files\\ \\(x86\\)/Windows\\ Kits/10/ -name "kdnet.exe"
/c/Program Files (x86)/Windows Kits/10/Debuggers/arm/kdnet.exe
/c/Program Files (x86)/Windows Kits/10/Debuggers/arm64/kdnet.exe
/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/kdnet.exe
/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/kdnet.exe
[dilaw@Dilawar-SUBCOM shield (main)]$ find /c/Program\\ Files\\ \\(x86\\)/Windows\\ Kits/10/ -name "VerifiedNICList.xml"
/c/Program Files (x86)/Windows Kits/10/Debuggers/arm/VerifiedNICList.xml
/c/Program Files (x86)/Windows Kits/10/Debuggers/arm64/VerifiedNICList.xml
/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/VerifiedNICList.xml
/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/VerifiedNICList.xml
[dilaw@Dilawar-SUBCOM shield (main)]$

Untitled

PS C:\\KDNET> .\\kdnet.exe 192.168.0.108 50000

Enabling network debugging on Intel(R) PRO/1000 MT Desktop Adapter.

To debug this machine, run the following command on your debugger host machine.
windbg -k net:port=50000,key=2yz7e58xrty3w.1wh7w03muu3yo.oq5oyf4u0i0w.30k1j4srb8gdu

Then reboot this machine by running shutdown -r -t 0 from this command prompt.
PS C:\\KDNET>