🎁🎁🎁 Christmas Gift 🎁🎁🎁 Get 30% discount on 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

Hi, this is Sazzadul Bari, Digital Marketing Strategist at WPManageNinja. SEO content writing, outreaching, link building, and lead generation are my specializations. And when I am not drooling over WordPress plugins and updates, you'll find me enjoying sports or going through my favorite books.

Leave a Reply