moved debug controller