Tutorialsplane

Magento2 Turn On Error Messages


Magento2 Turn On Error Messages : Error messages in any framework plays an important role when the project is in development mode. Magento2 provides the three mode default, developer and production mode. Here in this tutorial we are going to explain how you can enable error messages in magento2.


Magento2 Turn On Error Messages

Magento2 Provides the following modes –


Other Solution

Let’s have look over other solutions.


You can also add the following lines in index.php(located at root) at the top of file to enable errors.

Magento2 Turn On Error Messages:

error_reporting(E_ALL);
ini_set('display_errors', 1);