modX.setDebug

Skip to end of metadata
Go to start of metadata


modX::setDebug

Sets the debugging features of the modX instance.

Syntax

API Doc: http://api.modxcms.com/modx/modX.html#setDebug

boolean|int setDebug ([boolean|int $debug = true], [boolean $stopOnNotice = false])

Example

Turn debug mode on, and tell the process to stop if Notices occur:

$modx->setDebug(true);

See Also

Page: modX.setDebug

Labels

debug debug Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.