When I run most wp-cli commands I get silent failure. If I echo the return code, I can see that it is 255.
Some background. Our team is working on a plugin. Previous version of plugin works fine with wp-cli. If I update the plugin ($ wp plugin update our-plugin) the plugin updates, and the site seems to work fine, BUT, any further commands with wp-cli fail with return code 255.
I am talking about simple commands like ($ wp plugin list) or ($ wp plugin status) The 255 error codes even extend to theme subcommands as well.
The question is: How do I debug this? Is there a way to get more details failure information from wp-cli?
Thanks, John Schank