[xdebug-general] pdt and xdebug issues

From: Paul Shoemaker <paul.shoemaker[@]helloecho.com>
Date: Fri, 26 Sep 2008 11:24:58 -0500


Firstly I want to say Hi. This is my first post to the list. I am
having an issue with getting pdt to debug my project on a remote
server and any help you can give would be greatly appreciated. Allow
me to outline my current architecture and issue:

I have an svn repository on a dev server and checkout / maintain a
working copy on my local machine (macbook pro running os x 10.5
leopard) and use eclipse pdt as my ide of choice. That dev server is
running a vm that has php with xdebug and apache serving my
development code accessible via an internal address. Configuration
files are encapsulated into /etc/php.d of which xdebug.ini is in
there. php -m shows xdebug modules loaded (along with xcache, if that
is important) in both the main and zend section. Below is the
contents of my xdebug.ini file:

xdebug.remote_host=<my client host ip address>

In pdt I have set up my php server to default to my internal address
and mapped the server root to my local filesystem root for the
project. I created a new xdebug profile and pointed it to a test
script. When I execute the debug process it sends the following url
to my firefox 3 browser: http://my.internal.addr/test.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=122244500054432

PDT pauses at 19% progress and never receives a connection to the host
machine. I have a breakpoint specified and it is not being hit ...
the page is loading completely without stopping. I have my firewall
turned off on the client machine and verified that port 9000 is
listening from eclipse. I verified that I can telnet to my client
machine from the vm to port 9000, so theoretically a connection is
completely possible but it seems as though xdebug is not initiating
the connection based on the GET var in the url.

My contention is that the issue is with the host machine not
initiating a connection, but I'm not sure how I could monitor that.
Since tracing is on, I can verify that trace files are being created
but, interestingly, no log files are being produced. Thank you in
advance for anyone who can help me and let me know if you need more

Paul Shoemaker | LAMP Developer
echo  |  Hello. Hello.  |  helloecho.com
The information contained in this message is intended only for the use
of the individual or entity named above. If the reader of this message
is not the intended recipient, or the employee or agent responsible for
delivering it to the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.
Please consider the environment and do not print this email unless  
Received on Fri Sep 26 2008 - 18:34:55 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST