🎉🎉🎉 CyberMonday DEAL 🎉🎉🎉 Grab Lifetime Unlimited Site License with 50% Discount! for any products Buy Now

How to Debug in WordPress?

Fortunately, WordPress comes with a nice feature named debugging that allows you to see or hide the errors when debugging mode is on. To start this feature in your site, you have to initially add the following code in your WordPress configuration file.

You also can turn on debugging while hiding the errors on your site and saving them in a log file. To do so, you have to add only the code to your configuration settings given below.

This code will create a file named debug.log inside the wp-content folder of your site and stock all debugging errors and notices inside the log file.

This is how you can manage to debug with your WordPress site. Hopefully, this pro-tip was helpful. Find more Pro-tips here.

Sazzadul Bari

Sazzadul Bari is a digital marketing strategist at WPManageNinja and also the man behind BlogCD, specializing in content writing and lead gen. He loves to play with words and has a flair for writing on a variety of topics. He is an avid cricketer, a lover of everything entrepreneurship, and a keen reader of Francis Bacon's essays.

Leave a Reply