In Circuit Programmer/Debug
HEADER
PICKIT2
MCLR --- PIN 1
VDD (+5V)--  PIN 11, PIN 32
VSS (GND)--- PIN 12, PIN 31
RB7---  PIN 40
RB6--- PIN 39
1
2
4
3
5
6
Not Used
Make sure to connect a 4.7K resistor to ground to each: pin 40 and pin 39