How do I enable debug mode in PrestaShop?
Edit the file /config/defines.inc.php in your PrestaShop root directory. Find the line define('_PS_MODE_DEV_', false); and change false to true. Save the file and reload the page. You will now see detailed PHP errors instead of blank pages or generic error messages. Remember to disable debug mode after troubleshooting — leaving it on in production exposes sensitive information and slows down your store.
Learn more: our troubleshooting guide.
Was this answer helpful?
Still have questions?
Can't find what you're looking for? Send us your question and we'll get back to you quickly.