Reputation: 31
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
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
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