2.1.1 Install MPLAB X IDE
The MDB is automatically installed with the MPLAB X IDE. To download the latest version, go to the Microchip web site (www.microchip.com).
Generate an .elf file for debugging (if simply programming a device, a hex file is sufficient). The project can be built with MPLAB X IDE or using third-party compilers, as long as an .elf file is generated. The .elf file is a linked executable file that contains symbolic debugging information.