900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > Vagrant+PHPStorm实现XDebug断点调试

Vagrant+PHPStorm实现XDebug断点调试

时间:2021-05-02 09:07:54

相关推荐

Vagrant+PHPStorm实现XDebug断点调试

开发工具|phpstorm

xdebug,vagrant,phpstorm

开发工具-phpstorm

下面由phpstorm教学栏目给大家介绍Vagrant+PHPStorm+Google+XDebug断点调试 ,希望对需要的朋友有所帮助!

php相册源码站长,ubuntu去掉开机自检,tomcat开机自启动问题,使用python实现爬虫,哪里租php服务器好,日韩网站seolzw

1.登陆vagrant修改xdebug.ini配置

android界面源码,ubuntu读屏软件,爬虫如何自动翻页,PHP splbean,保定外贸seolzw

A. 登陆vagrant:vagrant sshB. 修改配置:sudo vim /etc/php/7.0/fpm/conf.d/20-xdebug.ini配置内容:zend_extension=xdebug.soxdebug.remote_enable = 1xdebug.remote_connect_back = 1xdebug.remote_port = 9001xdebug.max_nesting_level = 512xdebug.remote_host="192.168.10.10"xdebug.idekey = "PHPSTORM"xdebug.default_enable = 1xdebug.remote_enable = 1xdebug.remote_autostart = 1xdebug.remote_handler="dbgp" C.重启php: sudo service php7.0-fpm restart

2.在PHPStorm->Preferences->Languages & Frameworks->PHP中箭头指向配置

单独vpn登录器源码,vscode转换成中文模式,ubuntu打字错乱,如何完全停止Tomcat,scrapy 反反爬虫,php相乘函数,seo推广公司哪个最好运营lzw

选择+,选择from vagrant

配置如下:

在PHP->Debug->DBGp Proxy设置如下

在PHP->Debug设置端口

在PHP->Servers中设置映射路径

3.在google中下载Xdebug helper,并配置

备注:如果不能断点代表Xdebug和php版本不对应,可以将其他php版本的20-xdebug.ini都设置

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。