$mail.debug
This method enables or disables the $mail
service debug mode.
When the debug mode is on, server logs display information about the sent messages.
Syntax
The method accepts true
to enable debug mode or false
to disable it.
$mail.debug(true);