enable debug and get Redis config from env