首页 > Web开发 > 详细

php+Xdebug断点调试

时间:2020-03-23 15:18:01      阅读:86      评论:0      收藏:0      [点我收藏+]
1.下载
php_xdebug-2.7.0alpha1-7.0-vc14-nts.dll
php_xdebug-2.5.5-5.6-vc11-nts-x86_64.dll

2.把上面两个文件放到php对应版本的路径下 3.修改php对应版本的配制文件,php.ini文件 4.目前只有php7.0和php5.6的版本 7.0 [XDebug] ;; Only Zend OR (!) XDebug zend_extension = C:\phpStudy\PHPTutorial\php\php-7.0.12-nts\ext\php_xdebug-2.7.0alpha1-7.0-vc14-nts.dll xdebug.remote_enable =1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_mode = "req" xdebug.remote_port = 9000 xdebug.idekey = PHPSTORM 原来的 [XDebug] xdebug.profiler_output_dir="G:\xxx\phpstudy\PHPTutorial\tmp\xdebug" xdebug.trace_output_dir="G:\xxx\phpstudy\PHPTutorial\tmp\xdebug" ;zend_extension="D:\Program Files\phpStudy20161103\php\php-7.0.12-nts\ext\php_xdebug.dll" 5.6 [XDebug] ;; Only Zend OR (!) XDebug zend_extension = C:\phpStudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug-2.5.5-5.6-vc11-nts-x86_64.dll xdebug.remote_enable =1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_mode = "req" xdebug.remote_port = 9000 xdebug.idekey = PHPSTORM 原来的 [XDebug] xdebug.profiler_output_dir="G:\xxx\phpstudy\PHPTutorial\tmp\xdebug" xdebug.trace_output_dir="G:\xxx\phpstudy\PHPTutorial\tmp\xdebug" ;zend_extension="D:\Program Files\phpStudy20161103\php\php-5.6.27-nts\ext\php_xdebug.dll"

 

1.这个打开

技术分享图片

 

 

php+Xdebug断点调试

原文:https://www.cnblogs.com/ygyy/p/12551873.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!