phpstrom安装调试
1.phpinfo里有没有这个Xdebug的信息,没有就看源码,粘贴复制进https://xdebug.org/wizard.php
或者
2.把文件下载到的PHP的ext
3.配置phpini
[XDebug]
xdebug.profiler_output_dir="E:\myphp_www\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="E:\myphp_www\PHPTutorial\tmp\xdebug"
zend_extension = E:\myphp_www\PHPTutorial\php\php-7.0.12-nts\ext\php_xdebug-2.6.1-7.0-vc14-nts.dll
xdebug.remote_enable = On
;启用性能检测分析
xdebug.profiler_enable = On
;启用代码自动跟踪
xdebug.auto_trace=On
xdebug.profiler_enable_trigger = On
xdebug.profiler_output_name = cachegrind.out.%t.%p
;指定性能分析文件的存放目录
xdebug.profiler_output_dir ="G:/wamp64/tmp"
xdebug.idekey= PHPSTROM
xdebug.show_local_vars=0
;配置端口和监听的域名
xdebug.remote_port=9000
xdebug.remote_host="localhost"