PDT RC3 / Xdebug - Can't launch debug session [message #13245] |
Fri, 13 April 2007 09:04  |
Eclipse User |
|
|
|
I installed 0.7RC3 PDT release, and Dave's latest Xdebug support plugin.
I get the exact problem mentioned on page 21 of the DebugPHPIDEGuide.pdf
guide ("Launch waiting for debug session") : whenever I try to start a
debug session, the "waiting for Xdebug session" progressbar hangs at
50%. The page gets fully loaded in the external browser, but no
breakpoint is accounted for.
Moreover, the xdebug cookie seems correctly set, and if I add
print xdebug_get_declared_vars();
in my script, I do get a populated array
(which, as expected, I don't get if display the page outside debug)
I've triple-checked the tips in the pdf manual (server, port, debug
protocol in php.ini), and tried all the combinations I could think of
for the Server URL / Context Root / Htdocs Location settings, to no avail.
Any suggestion welcome :-)
server is localhost (xampp for Windows, PHP 5.1.2 with matching Xdebug
version)
the project files live directly inside my htdoc root
the script to debug resides in htdocs/mysite/index.php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|