Can now toggle debug state