xPDO.setDebug

xPDO::setDebug

Sets the debug state for the XPDO connection.

Syntax

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

void setDebug ([boolean $v = true])

Example

$xpdo->setDebug(true);

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.