{debug} shows a value as a collapsible tree in the page, where the template uses it, and the rendering goes on - unlike {dump}, which stops the request.

PHP
fragments/debug_1.php
HTML
fragments/debug_1.pad
Result
<?php

$order
= [ 'number' => 1042, 'customer' => 'Ann', 'lines' => [ [ 'sku' => 'A1', 'qty' => 2 ] ] ];

?>
<p>The order as the template sees it:</p>
{debug $order}

The order as the template sees it: