How to Easily Enable WordPress Debug Mode to Fix Site Errors

Liked this post? Share with others!

[et_pb_section fb_built=”1″ theme_builder_area=”post_content” _builder_version=”4.19.0″ _module_preset=”default” da_is_popup=”off” da_exit_intent=”off” da_has_close=”on” da_alt_close=”off” da_dark_close=”off” da_not_modal=”on” da_is_singular=”off” da_with_loader=”off” da_has_shadow=”on” da_disable_devices=”off|off|off”][et_pb_row _builder_version=”4.19.0″ _module_preset=”default” theme_builder_area=”post_content”][et_pb_column _builder_version=”4.19.0″ _module_preset=”default” type=”4_4″ theme_builder_area=”post_content”][et_pb_text _builder_version=”4.19.0″ _module_preset=”default” theme_builder_area=”post_content” hover_enabled=”0″ sticky_enabled=”0″ header_3_font=”|700|||||||”]

How to enable WordPress to debug Mode?

[/et_pb_text][et_pb_text _builder_version=”4.19.0″ _module_preset=”default” theme_builder_area=”post_content” hover_enabled=”0″ sticky_enabled=”0″]

To enable WordPress to debug mode, you will need to add a line of code to your site’s configuration file. Here’s how to do it: Locate the wp-config.php file: The wp-config.php file is located in the root directory of your WordPress installation. You can access it using a file manager or an FTP client.

Edit the wp-config.php file: Open the wp-config.php file in a text editor and scroll down to the section labeled “That’s all, stop editing!”

Add the following line of code above the “That’s all, stop editing!” line:

define( 'WP_DEBUG', true );

Save and upload the wp-config.php file: Save the changes to the wp-config.php file and upload it back to your site.

Debug mode is now enabled: WordPress debug mode is now enabled on your site. When you visit your site, you should see error messages and other debugging information displayed on the page.

Overall, enabling WordPress to debug mode is a simple process that requires adding a single line of code to your site’s configuration file. By enabling debug mode, you can troubleshoot issues, test code changes, and optimize the performance of your WordPress site.


Subscribe to our newsletter

Collect visitor’s submissions and store it directly in your Elementor account, or integrate your favorite marketing & CRM tools.

Do you want to boost your business today?

This is your chance to invite visitors to contact you. Tell them you’ll be happy to answer all their questions as soon as possible.

Learn how we helped 100 top brands gain success