# How can I enable sourcemaps?

**URL:** <https://forum.shopware.com/t/how-can-i-enable-sourcemaps/65312>\
**Category:** Themes & Design (EN)\
**Created:** [7. März 2020 um 01:17 UTC](https://forum.shopware.com/t/how-can-i-enable-sourcemaps/65312 "2020-03-07T01:17:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnmestebeld](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@johnmestebeld](https://forum.shopware.com/u/johnmestebeld)\
**Post date:** [7. März 2020 um 01:17 UTC](https://forum.shopware.com/t/how-can-i-enable-sourcemaps/65312/1 "2020-03-07T01:17:23Z")

</div>

I’d like to enable sourcemaps for .css files. How could I acclompish this?&nbsp;  
I’m currently using the theme:compile command to process the .scss files.

---

<div class="post-metadata">

**Author:** ![timbrns](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timbrns/32/19740_2.png) [@timbrns](https://forum.shopware.com/u/timbrns)\
**Post date:** [11. März 2020 um 07:07 UTC](https://forum.shopware.com/t/how-can-i-enable-sourcemaps/65312/2 "2020-03-11T07:07:46Z")

</div>

Hi John,

you will need to use the “hot mode” for psh:  
./psh.phar storefront:hot-proxy

Then you will be able to see sourcemaps:&nbsp;  
[https://github.com/shopware/platform/blob/66fd12c4e63f0641a724ed10bfd5e55553bd1d1c/src/Storefront/Resources/app/storefront/build/webpack.hot.config.js#L75](https://github.com/shopware/platform/blob/66fd12c4e63f0641a724ed10bfd5e55553bd1d1c/src/Storefront/Resources/app/storefront/build/webpack.hot.config.js#L75)

Kind regards,  
Tim
