# Theme Compile

**URL:** https://forum.shopware.com/t/theme-compile/61432
**Category:** Themes & Design (EN)
**Created:** [30. August 2019 um 09:36 UTC](https://forum.shopware.com/t/theme-compile/61432 "2019-08-30T09:36:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)
#### Post date: [30. August 2019 um 09:36 UTC](https://forum.shopware.com/t/theme-compile/61432/1 "2019-08-30T09:36:36Z")

</div>

Hi

Not sure if to put this on Theme or Programing, but here we go:

&nbsp;

Is there a way to debug the theme compilation?

I tried :

```
bin/console theme:compile -vvv

```

but not useful info

My problem is that I get a&nbsp;

> Segmentation fault (core dumped)

But no trace…

---

<div class="post-metadata">

### Author: ![Jens\_K](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@Jens\_K](https://forum.shopware.com/u/Jens_K)
#### Post date: [12. September 2019 um 13:27 UTC](https://forum.shopware.com/t/theme-compile/61432/2 "2019-09-12T13:27:41Z")

</div>

Hello&nbsp;Yafar\_iSi,

if a segmentation fault occurs, you usually don’t get any output at all even if you have set the highest debug/verbosity level.&nbsp;You could use a debugger like xdebug to step thru the code and see where it breaks. You can also edit the platform/src/Storefront/Theme/ThemeCompiler.php and insert a exit() call to see until which point the code gets executed and when the segmentation fault occurs.

Best regards

Jens
