头像

PHP xdebug 各个版本配置

发布时间:2022-03-20 19:32:15

发布作者:admin

2067

xdebug3.0以下配置

[XDebug] 
    zend_extension = "D:\你php的ext目录位置\php\ext\php_xdebug.dll"
    xdebug.remote_autostart = on 
    xdebug.remote_enable = on
    xdebug.remote_handler = "dbgp"
    xdebug.remote_host = "localhost" #本地服务器
    xdebug.remote_port = 9000        #默认为9000
    xdebug.idekey="PHPSTORM"    #会话需要的key
xdebug3.0及以上配置

[xdebug]
zend_extension = "C:\phpstudy\Extensions\php\php7.4.3nts\ext\xdebug.dll"
xdebug.mode= "debug" #性能分析文件存放位置 
xdebug.output_dir = "C:\phpstudy\tmp\xdebug" #步骤调试器,应该是步入步进步出的吧
xdebug.remote_handler = "dbgp" 	
xdebug.idekey="PHPSTORM" #由remote_host替换过来了,就写本机的就行
xdebug.client_host=127.0.0.1 #由remote_port替换过来了,调试端口
xdebug.client_port=9000  	


相关文章:
  1. linux centos6/7 安装vsftpd
  2. 多用户SS平台搭建教程
  3. PHP的八种数据类型
  4. CentOS7安装PDFtk