I'm using an 18F87J50. What exactly do you mean when you say:
idc debugging within mplabx
Also, how do you see your PBP code in MPLABX?