1、安装xdebug:
pecl install xdebug
2、配置php.ini:
3、配置phpstorm:
PHP->Debug->Xdebug->Debug port : 9003
PHP->CLI Interpreter:

4、重启PHP
详情查看官方文档:https://www.jetbrains.com/help/phpstorm/configuring-xdebug.html#downloadAndInstall
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/228747.html原文链接:https://javaforall.net
