PS debug mode is really useless....if error then one must turn it on and then recreate to get issue, and while on you expose errors to everyone.
we stopped counting on ps debug mode, we need to know errors before reporting from the field/customer.
we released our in-house module which we use on all dev/prod client shops
requires account with rollbar.com
PrestaShop Rollbar.com Integration Module