Check for debug state