Correct check for debug value