Search code examples
asp.netpublishtrace

When I publish my ASP.NET site in RELEASE mode, will tracing still work?


When I publish my ASP.NET site in RELEASE mode, and set compilation debug="false", will my ASP.NET and System.Diagnostics Tracing still work?


Solution

  • I believe that tracing is set separately from debugging in the configuration, so yes, if properly configured.

    <configuration>
     <system.web>
      <trace enabled="true" requestLimit="40" localOnly="false"/>
     </system.web>
    </configuration>