You can use the WinDbg or KD debugger to debug an application in a virtual machine from another virtual machine over a serial port.
Prerequisites
Download and install WinDbg or KD in the Windows guest operating system that you plan to use as the debugger virtual machine.
Verify that a serial port is configured for the virtual machine. See Configuring Virtual Ports.
Procedure
- Power on both virtual machines.
- Select the virtual machine and select to verify that the serial port is connected.
- If the serial port is not connected, select the virtual serial port and click Connect.
- In the debugger virtual machine, start debugging by using WinDbg or KD.