Fix console.debug checks
Merge pull request #75 from mcdavis/master

Fix console.debug checks