InMotion Hosting Support Center
PrestaShop includes several debugging options including one called Debug Profiler.  This allows you to see everything that is running on the page and will also give performance data such as the time it take for data to load.  The following article shows you how to enable the Debug Profiler within PrestaShop 1.5.
Please make sure to create a backup before making the change to the Prestashop configuration file. This will allow you to return to a working point if needed.

How to Turn On the Debug Profiler in PrestaShop 1.5

  1. Login to the Cpanel 
  2. Scroll down to the Files section and Click on Cpanel File Manager.  Optionally, you can use FTP and edit the file with your favorite editor.
  3. In the File Manager (or FTP client), locate the files that make up your PrestaShop installation.  Look in the folders of the installation for the CONFIG folder.  Double-click on it to see its contents when you find it.
  4. Editor used to activate the Debug Profiler.Find the DEFINES.INC.PHP file.  Click on the file to highlight it, then click on the EDIT or CODE EDITOR icon at the top of the File Manager interface.
  5. Scroll through the code until you find "define('_PS_DEBUG_PROFILING_', false);".  Change "false" to "true".
  6. Click on SAVE CHANGES in the top right hand corner of the editor.
Login to the PrestaShop Administrator Dashboard or view the shop website (the front end) created by PrestaShop.  When you scroll to the bottom of the screen you will see the data listed for all the code running on that page.  You can see performance results as well as all the database queries.  Here's a screenshot showing an example of the output you may say (note that the sample is only a portion of the screenshot as it is a very LARGE list of data that is shown):


NOTE:  Make sure that your store is not available to customers or only available for a minimum period when the debugging the data being show.
Continued Education in Course Prestashop 1.5
You are viewing Section 22: 348: Enabling the Debug Profiler in PrestaShop 1.5
Section 21: 335: Configuring the RSS Feed module in PrestaShop 1.5
Section 23: 347: How to change the invoice date format in PrestaShop 1.5

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!