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.

1 REPLY 1

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"