Debug is a static class the simplifies routine debugging procedures, such as rendering pretty looking (and more readable) arrays and variables in HTML.
PHP:
<?php
$data = ['username' => 'hanna', 'email' => 'info@hannasoderstrom.com'];
Debug::printr($data);HTML:
array(
'username' => 'hanna',
'email' => 'info@hannasoderstrom.com'
)PHP:
<?php
$data = "Hello world!";
Debug::vardump($data);HTML:
(string)"Hello world!"(12)