Add environment.go for DebugMode flag.