C# Debug

using System.Diagnostics;
Debug.Print("xxx");
Debug.WriteLine("xxx");

Debug 方法 (System.Diagnostics)