Developer's Manual  Debugging Your Application  Debug Levels

Debug Levels

Below is the list of debug levels, which you can use to configure the SiteSupra debugger. The levels are assigned to the element level of $suDEBUG array (see Configuring .htsupra for more details). However, you may use command line parameters in public mode or the debugger window in edit mode to activate or deactivate a level.

Value Command line parameter Description
1 ERR Show errors.
2 VAR Show function suDUMP() output.
4 TIM Show SiteSupra timer. The timer shows time used for each operation during page loading.
8 SND Show SendData() traffic. This parameter works in edit mode only.
16 GPC Show values of GET/POST/COOOKIE variables.
32 SRV Show value of $HTTP_SERVER_VARS array.
64 SQL Show executed queries, time spent for every query, and number of affected rows.
512 NON Do not show PHP notices.
1024 LOG Write debug info into the file specified by $suDEBUG['errorLog'] parameter in .htsupra file.
2048 PUB Show debug in public mode.
1048576 EXP Explain queries. See MySQL documentation for more details.
2097152 RES Show queries results.
4194304 CON Automaticaly show debug window with every page request.
8388608 STA Show file statistics.
16777216 SRC Show source code.
536870912 PHP backtrace.
Please login to add comments.