To start debugging, run WinDbg on the host system. To debug the early boot, start WinDbg before you tell Simics to start running the simulation. To debug once Windows has booted, start WinDbg once the Simics target shows the Windows desktop. In either case:
To run WinDbg, go to a CMD shell, and start WinDbg from the command line like the following:
> windbg -k net:port=<port-on-host>,key=<key>
where:
<port-on-host> is the port to use to connect on
the host side, as determined in section
2.4.1.<key> is a value used to secure the connection,
as discussed in section 2.3.1.For example:
C:\WINDOWS\system32>cd C:\Program Files (x86)\Windows Kits\10\Debuggers\x64 C:\Program Files (x86)\Windows Kits\10\Debuggers\x64>windbg -knet:port=50010,key=1.2.3.4