Help setting up PHP eclipse to carry out remote debugging

Soldato
Joined
18 Oct 2002
Posts
5,357
Location
Riding my bike
I've just spent about 6 hours banging my head against this one....

Installed eclipse 3.1.2 and phpeclipse 1.1.8 onto my main Vista Box.

DBG v2.15.5 is installed on my FC5 linux box. phpinfo shows DBG as being there with all the right things showing up:

The problem is that I simply cannot get debugging to work.

I have a samba mapped drive to the public_html directory with the source php in so that:

\\yew\hodsonb\public_html on the windows box running eclipse is the same as the real path /home/hodsonb/public_html on the server.

I have tried just about all the remote/local path setting in the debug environment->remote tab within eclipse and simply cannot get anything to work.

The localhost:10001 thread is showing up within the debug screen of eclipse with Thread[main] having a little green arrow

I am launching firefox with http://yew/~hodsonb/[email protected]:10001 where 10.0.0.128 is my windows box (the FC5 server is on 10.0.0.1).

All I get when I do this is 'waiting for yew' in the status bar of the browser and nothing going on in eclipse (no breakpoint being hit).

There is no firewalling between the boxes.

Questions:

1) Should the localhost:10001 be appearing in the eclipse debug window or should this be my remote servers name ?

2) Can I check the phpeclipse DBG listener is working OK ?

2) Is there a dummies guide to setting this up where:
IDE is on windows, server is 'remote' linux box ?

3) Can anyone help !

Thanks guys....
 
Back
Top Bottom