Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

laranz's avatar

How to turn on WP_DEBUG in WordPress on valet?

  1. Installed valet.
  2. Installed WordPress and enabled the WordPress debugging by adding WP_DEBUG to true on wp-config.php.
  3. And there is no error shown on the site, it simply displays like this Screenshot
  4. When I used Apache or without valet, it displays the errors on the page itself. Is this the nginx thing? It won't display errors on the site?

Anyone knows how to turn the debug info on the site instead of checking error log each time?

Thanks in advance.

0 likes
1 reply
vincent15000's avatar

I really don't know, but your could have relevant answers on a WordPress forum.

Please or to participate in this conversation.