4.1 MPLAB X IDE Debugging
In the Project Properties window, set up debugging, programming or other options. See Emulator Options Selection. Then debug your project
.For details on how to debug an application with MPLAB X IDE, see the user’s guide on the MPLAB X IDE webpage or the WebHelp version on onlinedocs.microchip.com/.