Simplifying the debug check.
Merge pull request #84 from dhrrgn/master

Simplifying the debug check.