A deadly knife attack on a play school group in Germany, where an Afghan man was arrested at the scene, reignited a bitter immigration debate on Thursday, a month before elections.