Fortunately, WordPress comes with a nice feature named debugging that allows you to see or hide the errors when debugging mode is on.
![Debug in WordPress](https://wpmanageninja.com/wp-content/uploads/2021/08/300_1st-inner-1024x536.png)
To start this feature in your site, you have to initially add the following code in your WordPress configuration file.
![how to debugg in wordpress](https://wpmanageninja.com/wp-content/uploads/2021/08/Debugging-in-WordPress.png)
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.
![how to debugg in wordpress](https://wpmanageninja.com/wp-content/uploads/2021/08/Debugging-in-WordPress-2.png)
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.
![Debug in WordPress](https://wpmanageninja.com/wp-content/uploads/2021/08/300_2nd-inner-1024x536.png)
This is how you can manage to debug with your WordPress site. For more clarification follow the WordPress default guide. Hopefully, this pro-tip was helpful. Find more Pro-tips here.
![ninja tables pro](https://wpmanageninja.com/wp-content/uploads/2018/10/ninja-table-price-banner.png)