By default, the Device Emulator uses DMA as it's transport for device to desktop communications. The MDbg command line debugger supports TCP/IP for device to desktop communications. To allow MDbg to be used with the Device Emulator, there are some additional steps that are required before a connection can be established.
Read more here