How to start Developer Mode in Magento 2
To enable Developer Mode in Magento 2, use SetEnv MAGE_MODE “developer” in your .htaccess file. Please note that this method works only in case when
There is also another way to start Developer Mode in Magento 2. I don’t recommend you to use it, as it is a dirty solution, but you can simply put $_SERVER[‘MAGE_MODE’] = ‘developer’; at the beginning of your index.php file to run the mode.
More tips from Magento 2 Developer’s Cookbook