Sequence of Operations Leading to Debugging

Given that the Requirements for Debugging are met, set the MPLAB PICkit 4 In-Circuit Debugger as the current tool in MPLAB X IDE. Go to File > Project Properties to open the dialog, then under “Hardware Tool,” click PICkit 4. The following actions can now be performed.