记录一下我的windows上的phpstorm中的thinkphp5与xdebugger的调
发布时间:2020-12-13 21:07:38 所属栏目:Windows 来源:网络整理
导读:常规教程不多说 1.下载对应的xdebbger并放在适当位置 2.配置phpstorm中的server,如端口等 3.配置php.ini文件 此处有两个重点: 1是php.ini究竟是哪个生效,是apache文件夹中的呢,还是php文件夹中的呢 这个可以在localhost/phpinfo.php中的详情里找到答案。
常规教程不多说 ; XDEBUG Extension
zend_extension = "C:wampbinphpphp5.5.12zend_extphp_xdebug-2.2.5-5.5-vc11.dll"
;
[xdebug]
zend_extension="C:wampbinphpphp5.5.12zend_extphp_xdebug-2.2.5-5.5-vc11.dll"
xdebug.remote_enable = On
xdebug.profiler_enable = on
xdebug.profiler_enable_trigger = on
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.remote_host= localhost
xdebug.remote_port = 22222
xdebug.idekey = PHPSTORM
xdebug.remote_autostart = 1
xdebug.show_local_vars=0
应该是两处zend_extension要写一样的东西,毕竟使用的都是同一个dll文件。 这次我配置许久都不成功,最终在这个路径的配置上,如上一改,就好了。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |