How to enable debug mode on your PrestaShop site

Procédure

How to enable debug mode on your PrestaShop site

PrestaShop includes several parameters that you can use to debug your shop.

Generally, these parameters are intended for use by developers and should not be used on production sites. However, you can also use them in certain scenarios to help you solve problems you may encounter, such as with modules or themes.

How to activate Debug mode on your PrestaShop site

If you have a shared package such as Perso/Starter/Standard/Performance :

  1. Log in to your customer area or connect to your site via FTP
  2. Use the file manager or your FTP client and modify the defines.inc.php file located in the config folder.

If you have a shared package such as cPanel :

  1. Connect to cPanel or connect to your site via FTP
  2. Use the cPanel file manager or your FTP client and modify the defines.inc.php file located in the config folder.

If you have a shared hosting package such as Plesk :

  1. Connect to your Plesk or connect to your site via FTP
  2. Use the file manager or your FTP client and modify the defines.inc.php file located in the config folder.

After opening the defines.inc.php file to modify it, change the line define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); and save the file.

How to enable debug mode on your PrestaShop site

  • Since PrestaShop 1.7, you can do this via your shop administration.

To do this, connect to your PrestaShop administration panel, then from the"Advanced settings" menu (1) click on"Performance" (2)

How to enable debug mode on your PrestaShop site

  • Then click on the"YES" button to the right of"Debug mode".

How to enable debug mode on your PrestaShop site

Conclusion:


You have learned how to activate Debug mode in your PrestaShop. Debug mode allows you to view important information, such as errors, which will help you correct the operation of your site.

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

2mn reading

How do I create a Prestashop online shop?

1mn reading

How do you add an https url to your Prestashop shop?

1mn reading

How to change your shop title on prestashop 1.7

0mn reading

How do I reset my prestashop password?


Ask the LWS team and its community a question