After installing Windows SDK, open WinDbg.exe from the following location:
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe
Press Ctrl+K to open kernel debugging and connect to the name pipe of Nano Server as shown in Figure 29:
At this point you can break in using Ctrl+Break as for normal kernel debugging processes (see Figure 30):
You can also use WinDbg with the command-line for ...