Mohan
Mohan

Reputation: 4829

PhpStorm Xdebug : Waiting for incoming connection with ide key

I am running PHP 7.0 and PhpStorm 2016.1

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

enter image description here

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.

Upvotes: 3

Views: 6045

Answers (1)

Marcin Orlowski
Marcin Orlowski

Reputation: 75629

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).

Upvotes: 2

Related Questions