Skip to content

Instantly share code, notes, and snippets.

@massimoselvi
Last active September 27, 2016 10:20
Show Gist options
  • Save massimoselvi/8dc492bc71f1733b4fa71be5f5e3bc73 to your computer and use it in GitHub Desktop.
Save massimoselvi/8dc492bc71f1733b4fa71be5f5e3bc73 to your computer and use it in GitHub Desktop.
{if env('APP_DEBUG')}
<a href="javascript:$('div.debug.varName-{$key}').toggleClass('hidden');void(0);">debug varName-{$key}</a>
<div class="debug varName-{$key} hidden">
<pre>
varName: {$varName|dump}
</pre>
</div>
{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment