To enable WP_DEBUG, open WP-CLI, and run these commands:

wp config set WP_DEBUG true --raw

wp config set WP_DEBUG_LOG true --raw

To disable, run:

wp config set WP_DEBUG false --raw

wp config set WP_DEBUG_LOG false --raw

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us