gets DEBUG setting from env and checks it.