5.7.2 MPLAB X IDE Setup
In the Project Properties (right click on project name and select “Properties”), ensure that the debugger is not powering the target.

Click the Make and Program Device button

Troubleshooting:
- If the project fails to build, check that you have copied and pasted the sample code fully. Also look at the error messages in the Output window for additional help.
- If MPLAB X IDE has connection issues with the debugger or the target, check your connections.