Obvious Tip: How to turn on Tracing in Asp.net

I was wanting to look at my session state variables and a few other tracing bits in my ASP.NET application. It’s fairly easy to turn on and it makes for a nice and nasty look page.

Either way, it proves quite helpful to get those really ugly issues solved fast.

Just add this to your configuration file:

<trace enabled="true" requestLimit="40" localOnly="false"/>


<trace enabled="true" requestLimit="40" localOnly="false"/>

Notice, localOnly needs to be false if you are not actually on the physical server. Duh!

You can read much more about this over @ Microsoft.

Happy Coding!

Leave a Reply

Your email address will not be published. Required fields are marked *