Previous Topic: Trace Generated ApplicationsNext Topic: Trace a Generated ASP.NET Application Using the Diagram Trace Utility


Trace Using web.config

The web.config file can be used to enable and disable tracing within the ASP.NET Web Client Runtimes. The output is written to a file, trace-<appname>-<procid>.out, where <appname> is the application name and <procid> is the process id of the application. This file is created in the %USERPROFILE%\AppData\Local\CA\Gen xx\logs\net directory.

To enable tracing using the web.config file, set the cmidebug value to -1.

<add key="cmidebug" value="-1"/>

Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.