Xdebug - waiting for an incoming connection with ide key

I am using xDebug. but i cant debug the whole project. I can debug the breakpoints of the url page. But when I go through the lines, it shows the login page, and when I submit the login page, I cannot reach the next breakpoint. The variables window displays "Waiting for an incoming connection with ide key". My php.ini config 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.

+3


source to share


3 answers


Perhaps you can add a line to php.ini:

xdebug.remote_connect_back=1

      



I hope this approach is helpful to you.

0


source


you have to install phpstorm DBG proxy enter image description here



see link to link

0


source


Since Xdebug needs either a cookie XDEBUG_SESSION

or a query string in the url XDEBUG_SESSION_START

and the value is the value of your Waiting for incoming connection with ide key

.

You can skip both of them on your login page.

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

0


source







All Articles