Is there a way to use something like Console.write to debug in XNA code?

user705414 picture user705414 · Feb 4, 2012 · Viewed 10.3k times · Source

I am wondering how to include debug code inside the XNA? Like console.writeline

Answer

Lucius picture Lucius · Feb 4, 2012

Enable the console.

In Visual Studio right-click your project in Solution Explorer. Then click on "Properties" and in the "Application" tab select "Console Application" as your Output-Type.

Don't forget to change it back to "Windows Application" in order to disable the console when you are done debugging.