Bulk keys for all debugs

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

You can also add one of the following bulk keys to the AppSettings section of your web.config file in order to enable all the debugs with a single key.

 

<add key="CMSDebugEverything" value="true"/> - enables all debugging sub-tabs in Site Manager -> Administration -> System -> Debug

 

<add key="CMSDebugAllForEverything" value="true"/> - enables all debugging sub-tabs, while UI operations are debugged too

 

<add key="CMSDebugEverythingLive" value="true"/> - enables all debugging on the live site (the debug log will be displayed at the bottom of the page)

 

<add key="CMSDebugEverythingLogLength" value="20"/> - limits the maximal length of the debug log (number of preserved log records)

 

<add key="CMSLogEverythingToFile" value="true"/> - logs all possible operations (including Event log and E-mail sending log) into .log files stored in ~/App_Data/

 

These keys enable all the available debugs listed on this page, while the dedicated keys for particular debugs have higher priorities. This means that you can for example enable all debugs using CMSDebugEveryting with the value set to true and hide one particular sub-tab by using its dedicated key with the value set to false at the same time.

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?bulk_keys_for_all_debugs.htm