To enable Magento 2 Template Hints directly from the command line, run the following command in the Magento 2 root directory:
|
1 |
php bin/magento dev:template-hints:enable |
To disable the hints again, run this command:
|
1 |
php bin/magento dev:template-hints:disable |
Clear the Magento 2 cache after either command.