后端开发|php教程
Xdebug,php,思否
后端开发-php教程
本篇文章给大家详细的介绍了关于Mac下安装PHP调试工具Xdebug的详细步骤,若是有需要的小伙伴可以参考一下Mac下安装PHP调试工具Xdebug
淘宝自动下单软件源码,vscode远程开发树莓派,ubuntu无图形,tomcat允许远程部署,爬虫电影啊,php网站编辑器,云南seo推广怎么做,一个dede管理两个网站,网站备案信息模板lzw
安装步骤
brew install php70
易企秀 源码 13.3,VSCode表格为单线,电脑管家ubuntu,tomcat并发线程数,攻击爬虫,php yml,seo运营推广平台,导航网站网页源码,企业手机站模板lzw
brew install php70-xdebug
yershop源码,vscode匿名函数,ubuntu误删东西连不上网,tomcat 7.0编译,sqlite何时提交事务,webkit 插件,dw支持的前端框架,关于爬虫软件的文案,php 查杀,seo代码教程,卖鞋子的网站源码,网页 弹出滚动条滚动条,数据库后台管理系统模板,软件源程序lzw
php -i | grep xdebug.ini
找到xdebug.ini的配置文件我的是/usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
vim /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
配置如下:[xdebug]zend_extension="/usr/local/opt/php70-xdebug/xdebug.so"xdebug.remote_enable = Onxdebug.remote_handler = dbgpxdebug.remote_host= localhostxdebug.remote_port = 9001 #这个端口不要被占用即可,可以自行指定xdebug.idekey = PHPSTORMxdebug.remote_autostart=1xdebug.remote_log=/var/tmp/xdebug.log
在PHPStorm中配置
我的调试地址:http://localhost:8080/email/send.php?XDEBUG_SESSION_START=15550
愉快的调试吧,哈哈
Mac下安装PHP调试工具Xdebug
安装步骤
brew install php70
brew install php70-xdebug
php -i | grep xdebug.ini
找到xdebug.ini的配置文件我的是/usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
vim /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
配置如下:[xdebug]zend_extension="/usr/local/opt/php70-xdebug/xdebug.so"xdebug.remote_enable = Onxdebug.remote_handler = dbgpxdebug.remote_host= localhostxdebug.remote_port = 9001 #这个端口不要被占用即可,可以自行指定xdebug.idekey = PHPSTORMxdebug.remote_autostart=1xdebug.remote_log=/var/tmp/xdebug.log
在PHPStorm中配置
我的调试地址:http://localhost:8080/email/send.php?XDEBUG_SESSION_START=15550
愉快的调试吧,哈哈
如果觉得《Mac下安装PHP Xdebug》对你有帮助,请点赞、收藏,并留下你的观点哦!