我正在使用WP-CLI来快速调试一些代码,但是每次我遇到一个fatal异常(例如,未定义的常量/函数),shell就会退出,而我的shell会话就会丢失。有什么办法可以防止这种情况发生吗?Fatal error: Class 'DoesntExist' not found in phar:///usr/local/bin/wp/php/WP_CLI/REPL.php(37) : eval()'d code on line 1
壳牌退出..。
但今天我跑的时候我得到了以下错误
PsySH history file found at '/home/vagrant/.config/psysh_historyPlease delete it or move it to '/home/vagrant/.config/psysh/psysh_history'.
- psy/psysh v0.6.1 requires symfony/console ~2.3.10|^2.4.2|~3.0 -> satisfiable by symfony/console- Installation request for psy/psysh v0.6.1 -> satisfiable by psy/psysh[v0.6.1].5.4.16) or value of "config.platform.php" in composer.j