If you are experiencing issues with a plugin or particular WordPress configuration, you can enable the detailed debug logs to capture detailed information to help determine the cause. Traditionally this required manually editing the WordPress configuration file (which we detailed here), but it has recently been made a simple option within the latest release of the Plesk WordPress Toolkit.


  1. Login to Plesk (or via the Conetix Control Panel) and select the domain you wish to enable WordPress debugging for.
  2. Under the WordPress tools, click on the name of your WordPress site to go into the WordPress Tools:
    plesk - wordpress tools
  3. On the right hand side under Developer Tools, click on change to the right of the Debugging item:
    plesk - wordpress tools - enable debug
  4. This will open the options panel for the WordPress debugging. Conetix recommends starting with the basics of logging only first, so as to avoid any disruption or unnecessary overhead. Your options should look like this:
    plesk - wordpress toolkit - debug options
  5. Click OK to apply the changes.
  6. When accessing the site and in particular problematic areas of your website, you should see debug level logging saved to your wp-content/debug.log file.
  7. Plesk Onyx has the included functionality of attaching a custom log e.g. debug.log
    Navigate to Website & Domains tab > Show More > Logs
    Click on Add custom log
    how to enable wordpress debugging in plesk onyx
  8. Browse your hosting files to locate the log file httpdocs/wp-content/debug.logthen OK to save
    how to enable wordpress debugging in plesk onyx
  9. The page will refresh to load the contents of the log file selected.
    how to enable wordpress debugging in plesk onyx
  10. To remove the attached custom log, click on the de-link icon
    how to enable wordpress debugging in plesk onyx
    Then Yes
    how to enable wordpress debugging in plesk onyx

Tip: Because debug logging as some performance overhead, dont forget to turn it off once you've completed your debugging task.

Was this article helpful?

Related Articles