Turn on debug mode in Roundcube webmail

Please follow the tutorial to find Roundcube config file (config/config.inc.php) first: Locations of configuration and log files of major components

Then add below settings in config/config.inc.php:

// system error reporting, sum of: 1 = log; 4 = show
$config['debug_level'] = 1;

// Log SQL queries
$config['sql_debug'] = true;

// Log IMAP conversation
$config['imap_debug'] = true;

// Log LDAP conversation
$config['ldap_debug'] = true;

// Log SMTP conversation
$config['smtp_debug'] = true;

All documents are available in BitBucket repository, and published under Creative Commons license. If you found something wrong, please do contact us to fix it.