How to enable debug mode in wordpress?



How to enable debug mode in wordpress?..

Answer / Naveen Kumar Sonia

To enable debug mode in WordPress, you need to add the following code snippet to your wp-config.php file: `ndefine('WP_DEBUG', true);ndefine('WP_DEBUG_LOG', true);` This will display error messages on the screen and log them for future reference.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

Tell me is there any way to write series in wordpress?

1 Answers  


How do I copy a web page?

1 Answers  


Tell me what are the template tags in wordpress?

1 Answers  


What is the use of mail server in wordpress writing setting?

1 Answers  


Why doesn't the following code print the newline properly?

1 Answers  


How do I completely delete a wordpress site?

1 Answers  


Explain me how to change the length of the default wordpress excerpt?

1 Answers  


Can I monetize my wix blog?

1 Answers  


Is a subdomain a separate website?

1 Answers  


How do I find my ftp username and password?

1 Answers  


How do I convert wordpress to html?

1 Answers  


Explain which is the best multi-lingual plugin for wordpress?

1 Answers  


Categories