The U.S. Senate has been debating a military funding bill that would require President Bush to begin withdrawing troops from Iraq in October .