WordPress打开调试模式 修改Wordpress安装目录下的wp-config.php: define('WP_DEBUG', true); 之后即可看到debug信息,callstack等trace: