Jump to main content Jump to doc navigation

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