

It will also hide the errors so they do not interrupt page generation. The following code, inserted in your wp-config.php file, will log all errors, notices, and warnings to a file called debug.log in the wp-content directory. Example wp-config.php for Debugging # Example wp-config.php for Debugging This page describes the various debugging tools in WordPress and how to be more productive in your coding as well as increasing the overall quality and interoperativity of your code.įor non-programmers or general users, these options can be used to show detailed information about errors.


Debugging PHP code is part of any project, but WordPress comes with specific debug systems designed to simplify the process as well as standardize code across the core, plugins and themes.
