Sayed Zahidul Islam
Sayed Zahidul Islam

Reputation: 31

xdebug-waiting for incoming connection with ide key

I am using xDebug. but i can not debug the entire project. I can debug start URL page breakpoints. But when i step over lines it shows the login page and when i submit login page i can not reach next break point. In variables window it shows " Waiting for incoming connection with ide key ''. My configuration of php.ini for xdebug:

[XDebug]
    zend_extension="/usr/lib/php5/20121212+lfs/xdebug.so"
    xdebug.remote_enable=1
    xdebug.remote_port="9001"
    xdebug.profiler_enable=1
    xdebug.profiler_output_dir="home/tmp"

Please help.

Upvotes: 3

Views: 1727

Answers (3)

vikyd
vikyd

Reputation: 2033

Because Xdebug needs either a cookie XDEBUG_SESSION or a query string in url XDEBUG_SESSION_START and the value is the value of your Waiting for incoming connection with ide key.

You may miss both of them from your login page.

ref: https://xdebug.org/docs/remote , search HTTP Debug Sessions

Upvotes: 0

wonbin2011
wonbin2011

Reputation: 397

you should setup phpstorm's DBG proxy enter image description here

see: refer link

Upvotes: 0

Summer Jane
Summer Jane

Reputation: 11

Maybe you can add a line in php.ini:

xdebug.remote_connect_back=1

My hope that this approach be helpful to you.

Upvotes: 0

Related Questions