debug in visual studio c# code example Example: c# how to debig Debug.Log("Hello World"); //Show "Hello World" at the console