Output debugging can be turned on by adding one or more of the following keys into the AppSettings section of your web.config file:
• | CMSDebugOutput - enables the Output tab in Site Manager -> Administration -> System -> Debug |
• | CMSDebugOutputLive - enables output debugging on the live site |
• | CMSDebugAllOutputs - enables output debugging for all operations (including the UI) |
• | CMSDebugOutputLogLength - maximal size of the output debug log (number of preserved records) |
• | CMSLogOutputToFile - if applied, output debug log is saved into ~/App_Data/logoutput.log |
Here is a list of these keys for easy copy&paste into your web.config:
<add key="CMSDebugOutput" value="true" /> <add key="CMSDebugOutputLive" value="true" /> <add key="CMSDebugAllOutputs" value="true" /> <add key="CMSDebugOutputLogLength" value="10" /> <add key="CMSLogOutputToFile" value="true" /> |
Output debugging can also be enabled using the bulk keys.
User interface
On the Debug -> Output tab, you can see the exact output code of recently displayed pages. This is particularly useful in case of AJAX request, whose code can not be viewed as part of the page source directly in the browser.
The log can be cleared using the Clear output log button.
Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?output_debugging.htm