What is debug mode?
Debug mode is a setting that replaces the generic error messages shown to visitors with the full technical detail: the file involved, the line number, the function at fault, sometimes the offending SQL query.
A temporary diagnostic tool
On PrestaShop, this setting is controlled by the _PS_MODE_DEV_ constant in the config/defines.inc.php file. On WordPress, the equivalent is the WP_DEBUG constant defined in wp-config.php. In both cases, enabling it turns a vague error screen into a precise trace, essential for quickly locating the origin of a bug or a 500 error.
A risk if left active permanently
The information shown in debug mode (server file paths, database structure, code excerpts) is valuable to a developer, but just as valuable to an attacker. Leaving this mode active on a live site needlessly exposes technical details to any visitor and amounts to an avoidable security flaw.
Frequently asked questions
How do you enable debug mode on PrestaShop?
How do you enable debug mode on WordPress?
Does debug mode slow down the site?
Describe your need in one minute
A few targeted questions so I can reply with an estimate rather than another questionnaire.