phpstorm xdebug配置

php.ini: xdebug配置

;xdebug.collect_vars = On
;xdebug.collect_return = On
;xdebug.collect_params = On
;xdebug.profiler_enable=1

xdebug.remote_enable = On
xdebug.remote_autostart = On
xdebug.remote_handler = dbgp
xdebug.remote_host= localhost
xdebug.remote_port = 9100
xdebug.idekey = PHPSTORM

phpstorm:

添加remote debug

phpstorm xdebug配置
填写server和ide-key

打开设置

phpstorm xdebug配置
phpstorm xdebug配置

over