Lost when trying to debug PHP [message #954951] |
Tue, 23 October 2012 07:38  |
Eclipse User |
|
|
|
Hi all,
That's not the first time I use Xdebug to debug my PHP script but this time nothing is working !
This is My conf kubuntu Precise pangolin (LTS12.04) + eclipse Indigo 3.7.2 Basic + PDT 3.0.0 + Makegood+Xdebug V2.1.0 + PHP5.3.10. everything xcept Eclipse installed using Muon.
I can debug my test using Makegood. XDebug is working well as the following script is working well.
$address = '127.0.0.1';
$port=9000;
$sock=socket_create(AF_INET, SOCK_STREAM, 0);
socket_bind($sock, $address,$port);
socket_listen($sock);
$client=socket_accept($sock);
echo "connection established : $client";
socket_close($client);
socket_close($sock);
When using eclipse to launch debug session the cookie is well created but that's all no stop on first line.
I force Eclipse to use IPv4 (I found that Xdebug can't do IPv6).
but still not working with externel Firefox or internal web browser !
shurely an eclipse conf somewhere (I try any remot_host) but don't know where ..
Any idea ?
Fierfeu
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07448 seconds