Get DEBUG setting from environment variable