Re: PICKIT 4 not able to enter debuging mode.
MPLAB X v5.0 is pretty old, please download and install MPLAB X v5.40 after goto Tools->Packs click on the Tool Pack tab and update the ICD4 and PICkit 4 toolpacks.
Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.