allow REDWIND_DEBUG environment variable to toggle DEBUG mode