itholics/oxid-debug-twig

Twig extension to help debugging twig templates in OXID eShop 7.0.0+

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:oxideshop-component

1.0.0 2023-09-06 13:24 UTC

This package is auto-updated.

Last update: 2024-04-06 14:43:03 UTC


README

Installation

composer require --dev itholics/oxid-debug-twig

Usage

xdebug_break()

Xdebug will stop at this mark. You may need to go up the chain and look at the context variable.

{{ xdebug_break() }}

var_dump()

var_dump in <pre> tags.

{{ var_dump(item) }}
{{ var_dump(item1, item2, item3) }}

print_r

print_r in <pre> tags.

{{ print_r(item) }}

License

MIT

Copyright

ITholics Dev Team info@itholics.de