Many times we need to do a debug on the site, and we find that there are errors everywhere, and if we see those errors, imagine the customers who visit our site. This can simply cause customers to decide NOT to buy from our store.

The solution is to enable debugging options by specifying our IP address, so that only we can see the errors. The first thing is to know our IP, sites like do show our IP.

The second is to edit the config / file and change this line:

if (!defined ('_PS_MODE_DEV_')) {
define ('_PS_MODE_DEV_', false);


if ($_SERVER['REMOTE_ADDR'] == '') {
define ('_PS_MODE_DEV_', true);

/*Debug only*/
if (!defined ('_ PS_MODE_DEV_')) {
define ('_PS_MODE_DEV_', false);

Where REMOTE_ADDR is our IP. With this only we will be able to see the errors of the site without having to put the site in maintenance.

Product added to wishlist
Product added to compare.

We use a selection of our own and third-party cookies on the pages of this website: Essential cookies, which are required in order to use the website; functional cookies, which provide better easy of use when using the website; performance cookies, which we use to generate aggregated data on website use and statistics; and marketing cookies, which are used to display relevant content and advertising. If you choose "ACCEPT ALL", you consent to the use of all cookies. You can accept and reject individual cookie types and revoke your consent for the future at any time under "Settings".