debug Controller