Xdebug不在PhpStorm上工作

Xdebug不在PhpStorm上工作,php,phpstorm,xdebug,Php,Phpstorm,Xdebug,经过数小时的尝试(基于其他人的问题),我无法让xdebug使用PhpStorm(在Chrome浏览器中,CLI工作正常) PHP版本:7.0.10;使用WAMP php.ini(已选中): PhpStorm配置: 当我在PhpStorm中运行debug时,Chrome打开的URL为:localhost:9005/test/?XDEBUG\u SESSION\u START=14031,但始终保持“等待”状态。“Chrome打开的URL为:localhost:9005/test/?XDEBUG

经过数小时的尝试(基于其他人的问题),我无法让xdebug使用PhpStorm(在Chrome浏览器中,CLI工作正常)

PHP版本:7.0.10;使用WAMP

php.ini(已选中):

PhpStorm配置:


当我在PhpStorm中运行debug时,Chrome打开的URL为:
localhost:9005/test/?XDEBUG\u SESSION\u START=14031
,但始终保持“等待”状态。

“Chrome打开的URL为:
localhost:9005/test/?XDEBUG\u SESSION\u START=14031
”——这是完全错误的
9005
是一个xdebug端口(xdebug在此端口上与IDE通信)——不应在URL中使用它——在URL中,您应该使用web端口--
80
。。或者可能是
8080
。因此,如果URL应该类似于
localhost/test/?XDEBUG\u SESSION\u START=14031
如果您还没有这样做,请检查此链接:--它有图片甚至视频。非常感谢您的懒散,我配置服务器的不好!)
[xdebug]
zend_extension ="C:\wamp64\bin\php\php7.0.10\ext\php_xdebug-2.5.1-7.0-vc14-x86_64.dll"

xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9005
xdebug.remote_log = "c:/wamp64/tmp/debug.log"
xdebug.trace_enable_trigger=1
xdebug.profiler_enable = 1
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.idekey=PHPSTORM