1.publi目录下新建info文件:
2.搜索是否已经安装过xdebug
3.下载安装
>[info] 自动查找相对应的版本
==
打开php.ini
原始:
[XDebug]
xdebug.profiler_output_dir="F:phpStudy mpxdebug"
xdebug.trace_output_dir="F:phpStudy mpxdebug"
;zend_extension="F:phpStudyphpphp-7.0.12-ntsextphp_xdebug.dll"
-
------------
最新:
[xdebug]
zend_extension = F:phpStudyphpphp-7.0.12-ntsextphp_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
-------------------