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):

debug-profiler-in-action


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.
 
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201647

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

Need more Help?

Search

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: support@InMotionHosting.com
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!