convert DEBUG environment variable to bool