To use trace, you will need the ribbon cable and emulator interface board that comes with the emulation header. Connect one end to the emulation header. Connect the other end to the emulator. For more information on complete hardware setup and connections, refer to Emulation Header Hardware Setup. For details on trace connectors, see Trace Hardware.
Once the hardware is set up, continue to Setup Trace with MPLAB® X IDE.
Figure: Emulation Trace Cable Connected to Header