Last updated Apr 14th, 2021 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$292 per month—let's make that $500!Learn more
Sets the debugging features of the modX instance.
API Doc: modX::setDebug()
boolean|int setDebug ([boolean|int $debug = true])
$debug(string) Boolean or bitwise integer describing the debug state and/or PHP error reporting level
Turn debug mode on, and tell the process to stop if Notices occur: