How to Enable Debug Mode?
Learn how to enable debug mode in MineStoreCMS to troubleshoot issues and errors.
If you are facing any issues or errors in MineStoreCMS, you can enable debug mode to get more information about the issue. However, enabling debug mode is not recommended for production environments as it may expose sensitive information. You should only enable debug mode for troubleshooting purposes or when got asked by support team and disable it again when you are done.
Enabling Debug Mode
To enable debug mode in MineStoreCMS, you need to edit the .env
file in the root directory of your MineStoreCMS installation. You can do this by using the following command in the terminal:
Then, you need to find the following line in the .env
file and set it to true
:
After that, save the file and exit the editor. You can do this by pressing CTRL + X
, then Y
, and then Enter
.
Then, you need to run the following command in the terminal to apply changes:
After enabling debug mode, you need to disable it again when you are done troubleshooting. You can do this by setting the APP_DEBUG
variable back to false
in the .env
file.