Hi. What exact microcontroller are you using - and which peripherals? (E.g., are you using ethernet/I2C/SPI functionality, external EEPROM, etc.?) Is the debugger/programmer a PICKIT 3 or something else?
Please provide more details. I run MPLAB X IDE on Linux. I only use the xc8 and related compilers. It would be good to know the exact microcontroller.
I am based in Ireland - so about 6 hours different from India.