Hi, For those who are interested I got this answer from Microchip Engineering Support to my support ticket: Problem Resolution: Hi Philippe, Your analysis of what is going on is pretty accurate. The bit is there, its not documented, but our tools automatically take advantage of it as needed. At some point in time we realized we could take care of this completely for customers using our tools and stopped documenting it. Now the IDE just sets or clears the bit based on if you are in release or debug mode. The reason that decision was made is because it became a support liability to allow customers to have control over that bit. We had numerous issues where customers either did not understand the bit and it generated support questions, or worse yet customers could send a hex file with the debugger enabled to a contract manufacture and would have 1000's of production units built with the debugger bit on by accident. But this does present a new problem for customers not using Microchip's IDE software. So we don't have a #pragma config for backbug, and the device header file does not contain __config() directives any longer, and there is no documentation in the datasheet. What you can probably do for now is try using __config(0xXXXX) and set the config bits using a binary value. This is nearly unreadable without excellent documentation in your code, but I cannot think of another way to do it. I will make a case to the tools group and silicon group that we should still document this bit. You could also make a case to your IDE vendor that it would be better if they automatically control the debug bit based on if your are debugging or programming. Nothing stops them from implementing something like Microchip does now. :-D Olin you should be pleased: I NEED to hard code __CONFIG and not use these stupid mnemonics (for now)... ----- Best regards, Philippe. http://www.pmpcomp.fr Pic Micro Pascal for all! -- View this message in context: http://www.nabble.com/PIC18LF1xKxx---I-want-my-DEBUG-bit%21-tp24640212p24813350.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist