头像

PHP xdebug 各个版本配置

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

发布作者:admin

2082

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. 最完美解决Nginx部署ThinkPHP项目的办法
  2. No package libmcrypt available.
  3. Windows Server 2008中的KVM VPS虚拟化自定义ISO镜像/磁盘驱动器的Virtio驱动
  4. 为vultr(CentOS6.7)安装破解版锐速