Add env configurable debug and URL settings