you miswired the EXT/INT pin. It have to be tied to VCC.

Also, you should use HSERIN instead of DEBUG. Your PIC have a USART... use it.