Fix syntax error

Related to console.debug not available checks.