hublify.dump(...)

Probably, speaks for itself: Using this hublify function allows you to dump template variables.

Example

{% set myVar = "Aloha!" %}
{{ hublify.dump(myVar) }}


Some thoughts on using this function

  • DO NOT FORGET to remove it after debugging!
    ... otherwise you might expose sensitive data of yours!
    This is under your responsibility and Hublify can not avoid this!

  • This only works in templates where rendering does not fail with a fatal error or similar!


Browser: "network inspector"

Consider to use the browser's built-in "network inspectors" of their developer tools!

Especially when you "fatal errors" or similiar in your template and you don't "see anything" in your browser...!