gets DEBUG setting from env and checks it.
Merge pull request #3 from birkin/master

gets DEBUG setting from env and checks it.