# Debugging Twig files in PhpStorm

**URL:** <https://forum.shopware.com/t/debugging-twig-files-in-phpstorm/70381>\
**Category:** Programming (EN)\
**Created:** [22. Oktober 2020 um 12:26 UTC](https://forum.shopware.com/t/debugging-twig-files-in-phpstorm/70381 "2020-10-22T12:26:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halfpint\_utopia](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@halfpint\_utopia](https://forum.shopware.com/u/halfpint_utopia)\
**Post date:** [22. Oktober 2020 um 12:26 UTC](https://forum.shopware.com/t/debugging-twig-files-in-phpstorm/70381/1 "2020-10-22T12:26:25Z")

</div>

Hi, I have installed Shopware 6 on Docker and wondered if anyone was successfully using the debugger with Twig files. I am trying to debug my plugin and using the plugin to create new elements, blocks and extend blocks, but I would like to see the variable outputs and I am not sure how to go about this, as from the [documentation on PhpStorm](https://www.jetbrains.com/help/phpstorm/symfony-twig.html#debugging-twig-templates), it looks like it should be easy to debug using [Zero-configuration debugging](https://www.jetbrains.com/help/phpstorm/zero-configuration-debugging.html). Or could I have this wrong, are twig files like using underscore templates and can’t be used with the debugger tool? I have tried to see if there was a suggested set up in

```
bin/console debug

```

but I am learning as I go along and not sure if this is the direction to take. Any suggestions would be greatly appreciated. Thanks
