turned debug on for dev, off for prod