asp.net mvc console.writeline view in visual studio code example Example: mvc write to console Debug.WriteLine("My debug string here");