Re: Warning "hex file has the debug bit set" with MPLAB V3.61
Not sure why you have the debug bit set (in configuration memory). Cinzia's suggestion that you have the bit set in your code is likely correct.
In the past, customers have inadvertently had the debug bit set, particularly in hex files. This is problematic as the device will probably not work correctly in "normal", free-running, mode without a debugger. So MPLAB X gives the warning that it has detected the debug bit was set.