phpstorm+xdebug+chrome+Xdebug he

2016-02-19  本文已影响1498人  yaokui

1.安装&配置xdebug

安装扩展过程就略了,简单贴一下我的xdebug配置参数,在php.ini中:

[xdebug]
zend_extension=xdebug.so
xdebug.remote_enable =1
xdebug.remote_host = "192.168.56.1"
xdebug.remote_mode = "req"
#xdebug.remote_handler="dbgp"
xdebug.idekey="PHPSTORM"

xdebug.remote_connect_back = 1
xdebug.scream=0 
xdebug.cli_color=1
xdebug.show_local_vars=1

设置phpstorm

配置server

添加配置,选择configuration->server里添加单个域名,添加远程/本地对应的目录

EF76930C-AEB5-4931-BBB2-B1DD94681B2C.png
上一篇 下一篇

猜你喜欢

热点阅读