i forgot, when i use the configuration i mentioned before (connecting mplab to the board via usb and powering the target with an external source). these are the power settings i get:

target vdd: 0.00
target vpp: 12.46
mplab icd 2 vpp: 12.46