xdebug PHPStrom调试 安装

1.publi目录下新建info文件:

2.搜索是否已经安装过xdebug

 3.下载安装

>[info] 自动查找相对应的版本

==

打开php.ini

原始:

[XDebug]
xdebug.profiler_output_dir="F:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="F:\phpStudy\tmp\xdebug"
;zend_extension="F:\phpStudy\php\php-7.0.12-nts\ext\php_xdebug.dll"

-

------------

最新:

[xdebug]

zend_extension = F:\phpStudy\php\php-7.0.12-nts\ext\php_xdebug-2.6.1-7.0-vc14-nts.dll
;是否开启远程调试
xdebug.remote_enable = 1
;调试插件dbgp
xdebug.remote_handler = dbgp
;不清楚
xdebug.remote_mode = req
;允许调试的客户端IP
xdebug.remote_host= localhost
;远程调试的端口(默认9000)
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM

-------------------

猜你喜欢

转载自www.cnblogs.com/vip-deng-vip/p/9689541.html