Remove the redundant url property and fix setting debug from env