php.ini
[xdebug]
xdebug.profiler_enable = onxdebug.profiler_enable_trigger = on
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "e:/wamp/tmp"
xdebug.remote_handler = "dbgp"
xdebug.remote_port = 9000
xdebug.idekey = PHPSTROM
;是否开启自动跟踪
xdebug.auto_trace = On
;是否开启异常跟踪
xdebug.show_exception_trace = On
;是否开启远程调试自动启动
xdebug.remote_autostart = on
;是否开启远程调试
xdebug.remote_enable = On
;允许调试的客户端IP
;xdebug.remote_host="192.168.254.38"
一定要从 wampserver 应用程序菜单打开, 直接修改文件下的php.ini文件不生效!