The country 's Western backers in NATO are embroiled in a debate about how to step up military support as security continues to deteriorate and the reach of violent Islamic militias spreads across Afghanistan and parts of Pakistan .