MDL-68874 dml: Add SQL stacktrace debugging mode

This commit is contained in:
Brendan Heywood
2020-07-15 20:32:43 +10:00
parent ee23a8cf25
commit ef4145dd1a
5 changed files with 203 additions and 0 deletions
+5
View File
@@ -462,6 +462,11 @@ $string['debugminimal'] = 'MINIMAL: Show only fatal errors';
$string['debugnone'] = 'NONE: Do not show any errors or warnings';
$string['debugnormal'] = 'NORMAL: Show errors, warnings and notices';
$string['debugpageinfo'] = 'Show page information';
$string['debugsqltrace'] = 'Show origin of SQL calls';
$string['debugsqltrace1'] = 'Show only a single calling line';
$string['debugsqltrace2'] = 'Show 2 lines of stack trace';
$string['debugsqltrace100'] = 'Show full stack trace';
$string['debugsqltrace_desc'] = 'If enabled adds either partial or full PHP stacktrace into the SQL as a comment';
$string['debugstringids'] = 'Show origin of languages strings';
$string['debugstringids_desc'] = 'If enabled, language string components and identifiers are displayed when ?strings=1 or &strings=1 is appended to the page URL.';
$string['debugvalidators'] = 'Show validator links';