Determining Which COM Port a Debugger Uses

The KdComportInUse global variable contains the memory address that is assigned to the COM port that a kernel debugger uses.