In this tutorial, we will talk about How to Set Developer mode / Product Mode in Command Line Series. As you know, from Magento 2, they add many commands in
bin/magento. This may difficult to get approach this , let me explain more detail about it.
Show current Magento 2 mode
php bin/magento deploy:mode:show
$ php bin/magento deploy:mode:show Current application mode: default. (Note: Environment variables may override this value.)
Currently, we are in default mode, let switch to Developer mode
php bin/magento deploy:mode:set developer
$ php bin/magento deploy:mode:set developer Enabled developer mode.
Congrats! Now your store is running in Developer mode. Happy coding ;)