> i only have this in my config and it runs perfect, i am also on 2.0.4
> twig.extension.debug:
> class: Twig_Extensions_Extension_Debug
> tags:
> - { name: twig.extension }
> On 20 Okt., 18:31, otis <ovg...@adrexpedite.com> wrote:
> > I'm using symfony standard distribution ver 2.04.
> > When i try to use {% debug variablename %} in dev mode I get an
> > "Unknown tag name 'debug'" message.
> > Earlier threads suggest inserting the following in config_dev.yml:
> > services:
> > twig.extension.debug:
> > class: Twig_Extensions_Extension_Debug
> > tags: [ { name: 'twig.extension' } ]
> > see alsohttps://github.com/symfony/symfony-docs/issues/455
> > But when I clear cache and then add those lines to my otherwise
> > standard config_dev.yml I get this error message:
> > ErrorException: Warning: array_key_exists() expects parameter 2 to be
> > array, string given in C:\xampp\htdocs\SfAdrxDates\vendor\symfony\src
> > \Symfony\Component\DependencyInjection\Loader\YamlFileLoader.php line
> > 133
> > What to I need to do to enable the debug tag in Twig in symfony 2.04?