Finding the Console Window

Sending debugging and tracing info to the console is a fantastic way to reduce time debugging and tweaking code.

You’ll see it mentioned in almost every thread answering a programming question ever.

However, there are many coders who have difficulty finding where the console window is.

For web pages,  most browsers have debugging tools which can be accessed by hitting the F12 key.  You will see several tabs,  but one of them should be labelled Console.

In .NET,  its really tricky.

In VS2012 at least,  you need to go to the Application tab of the “Properties” page for your project.

You’ll see ‘Output Type’,  and a drop down.  Select ‘Console Application’, and every time you run you’re app,  the console window will appear.

But please, for the love of all that is holy…..remember to switch it back to ‘Windows Application’ for your release build!


One thought on “Finding the Console Window

  1. Pingback: VS2012 C#: Get IPV4 ip address of local machine | Code is My Drug

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s