Jump to main content Jump to doc navigation

xPDO::setDebug

Sets the debug state for the XPDO connection.

Syntax

API Docs: https://api.modx.com/revolution/2.2/db_core_xpdo_xpdo.class.html#\xPDO::setDebug()

void setDebug ([boolean $v = true])

Example

$xpdo->setDebug(true);

See Also