Correctly set debug value