phpstorm 配置 xdebug 单步调试



最新的php idea  + php 插件可以直接支持php 单步调试。 (服务器启用xdebug)

1. 服务器xdebug 配置:

zend_extension="D:\phpStudy\php\php-5.4.45\ext\php_xdebug.dll"
xdebug.remote_enable=On

2.   settings-> languages& frameworks->php->servers  新增一个server ,一般只需要改名字, 其他默认配置即可。 

3.  run -> edit Debug Configurations -> 新建一个php web  application 

猜你喜欢

转载自blog.csdn.net/freshfox/article/details/78305813