WordPress at a glance
function is not described

Pelago

Emogrifier::setDebug() public WC 1.0

Sets the debug mode.

{} It's a method of the class: Emogrifier{}

No Hooks.

Return

null.

Usage

$Emogrifier = new Emogrifier();
$Emogrifier->setDebug( $debug );
$debug(true/false) (required)
set to true to enable debug mode

Code of Emogrifier::setDebug() WC 5.0.0

<?php
public function setDebug($debug)
{
    $this->debug = $debug;
}