PhpStorm Xdebug : Waiting for incoming connection with ide key

ぃ、小莉子 提交于 2019-12-08 03:08:21

问题


I am running PHP 7.0 and PhpStorm 2016.1

I have x-debug installed and this is my configuration :

When running Debug form PhpStorm the Debugger tab shows this error message:

Waiting for incoming connection with ide key '13136'

ide key varies every time. Please help.


回答1:


Your question is incomplete as it lacks your current php settings for xdebug, but it looks like you do not have idekey configured (you see IDE Key to be reported as "No value" for that reason). Just add:

xdebug.idekey = ....

to your config. Here's working config from my setup:

xdebug.remote_handler="dbgp"
xdebug.remote_port=9000
xdebug.remote_autostart = on
xdebug.remote_start = on
xdebug.remote_enable = on
xdebug.remote_connect_back = on
xdebug.idekey = "xdebug"

Value used for idekey can be any string you want but must be the same you set up in PHPStorm (see Settings / Languages / PHP / Debug / DBGp Proxy / IDE Key).



来源:https://stackoverflow.com/questions/37183225/phpstorm-xdebug-waiting-for-incoming-connection-with-ide-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!