Xdebug安装
PHP断点调试工具
在框架的入口文件中创建一个文件info.php;
打开页面右键查看网页源码,Ctrl+A复制
在框内粘贴源码,判断应该下什么版本,地址:https://xdebug.org/wizard
将下载的dll文件放到指定的文件夹内(第二点有提示路径,对着找就行)
在php.ini文件中配置Xdebug(第三点有提示文件路径,配置除了第一行路径外,其他的相同)
[Xdebug]
zend_extension = E:\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug-3.1.4-7.3-vc15-nts-x86_64.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="PHPSTORM"