move debug controller to private