Add Block Names to Hints in Magento 2:
- This option is mainly helpful for development stage.
- Easy way to identify the block name of the page.
- Once you enable this option, in a website it will show red color code with file path.
How to Enable:
Admin – Store – Configuration – Advanced – Developer – Debug – Add Block Names to Hints – YES/NO