When a site shows a blank screen or a plugin misbehaves, WordPress debug mode helps you find the cause. Console lets you turn it on safely.
Open the Debug page
Open your site, then under WordPress select Debug.
Turn on debug mode
Tick WP_DEBUG to turn on debug mode. This enables the other two options.
Tick WP_DEBUG_LOG to record errors to a log file instead of showing them on screen.
Keep WP_DEBUG_DISPLAY off on a live site, so visitors never see raw error messages.
Click Save.
View the log
Once debug logging is on, errors are captured in a log shown lower on the page. Review it to see what is going wrong.
Turn it back off
When you have finished, turn debug mode off again so the log does not keep growing.
