xPDO.getDebug

xPDO::getDebug

Returns the debug state for the XPDO connection.

Syntax

API Docs: http://api.modxcms.com/xpdo/xPDO.html#getDebug

boolean getDebug ()

Example

Get whether debug mode is on or not.

$isDebugOn = $xpdo->getDebug();

See Also

Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab) or become an editor of the MODX Documentation.