debug controller