defining debug from env