- 安装php
- 配置
- File | Settings | Languages & Frameworks | PHP
- 运行
安装配置xdebug
- 查看安装版本 https://xdebug.org/wizard.php
- 配置
[Xdebug] zend_extension="示例:E:\php\ext\php_xdebug.dll" xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey = PHPSTORM
- 安装成功后, 打开phpinfo页面信息
-
- 安装浏览器插件
- https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc- Debug
- 打断点
- 点击这个按钮, 使他变成监听状态, 不Debug时关闭它
- 如果弹出窗口的默认就ok
- 打断点
PhpStorm 配置
猜你喜欢
转载自www.cnblogs.com/edhg/p/9951118.html
今日推荐
周排行