Re: Programming/Verify complete but target device not ready for debugging
#pragma config DEBUG = OFF // Debugger Enable bit (Background debugger disabled)
I thought DEBUG was not meant to be included in the config word settings and left to the debugger to handle as required. Still, I doubt this is the cause of the problem as the debugger should override this setting. Not sure, not my area of expertise...