How to debug php in eclipse!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
paulb
Forum Newbie
Posts: 12
Joined: Tue Sep 29, 2009 12:51 am

How to debug php in eclipse!

Post by paulb »

Hi,
I wondered if someone could help with this simple question. I am trying to debug my php code in eclipse. I am using the following versions:
eclipse=3.5.x
PHPeclipse version=1.2.1.xx
PHP debugger dbg=1.2.1.xx


I have successfuly created a run/debug configuration, pointing the interpreter at the /usr/bin/php. When I try and debug the code it simply says:
could not open input file: xxxx

It looks like the eclipse plugin is getting screwed up and simply not able to match the interpreter with the workspace location! I have tried to browse for the file location, but then the dialog complains that it is not a valid location or something like that!

Can someone tell me how they debug there PHP in eclipse and how they do it?
paulb
Forum Newbie
Posts: 12
Joined: Tue Sep 29, 2009 12:51 am

Re: How to debug php in eclipse!

Post by paulb »

Can someone help me out with this :crazy:
Post Reply