Debugging
During development of extensions it can be handy to see what Automad is doing. Therefore it is possible to send logging information to your browser's console. You can log any item, object or just a text notice using the following method in your extension or theme.
<?php \Automad\Core\Debug::log($element, $description); ?>
The console output is only visible, when debugging is enabled and therefore you can leave all calls for the Debug::log()
method permanetly within your code. You can enable debugging in the Debug Mode tab of the System Settings section.