cancel
Showing results for 
Search instead for 
Did you mean: 

Switching to developer mode not working in M2

Switching to developer mode not working in M2

Good day everyone, We have recently migrated our site from one server to another server and configured Varnish and Redis. Now when I try to switch my Magento mode from default to the developer using

bin/magento deploy:mode:set developer

my layout is completely broken. Any help is highly appreciated.

 

 

What I have tried:

deployed static content, cleared Redis cache, turned CSS and js bundling/merging off, flushed Magento cache as well.

2 REPLIES 2

Re: Switching to developer mode not working in M2

 
Try to switch mode using this method:
 
In the app/etc/env.php, change the current mode
MAGE_MODE' => 'default'to MAGE_MODE' => 'developer'
 
I hope it helps.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Switching to developer mode not working in M2

I was away with some other project. Thank you so much for the help Smiley Happy