I'm writing a one-off script to update some posts in the database. Whenever there is an error in my script, it fails silently.
I've followed the suggestions in this Github issue without success:
I've also tried running my script with debug set to true:
wp --debug eval-file my-script.php
And I've tried setting
WP_DEBUG to true in
# Subcommand defaults (e.g. `wp eval-file config`) eval-file config: extra-php: | define( 'WP_DEBUG', true );
Still, deathly silence.