Changed so Console.WriteLine debugging only happens if Debug is active as solution configuration