PIC开发环境设置-Debug,he target device is not ready for debugging.Please check your configuration bit sett
Thetargetdeviceisnotreadyfordebugging.Pleasecheckyourconfigurationbitsettingsandprogramthedevicebeforeproceeding解决方法:Configure/ConfigurationBits…selectPGC2然后编译后就可以