Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i associate/use PDT with eclipse in ubuntu?terr

I want to use PDT to debug PHP with eclipse. I am using ubuntu 9.04. Can any one help me? please give details if possible.

like image 858
Sadat Avatar asked Nov 05 '22 19:11

Sadat


1 Answers

Considering this thread and this one:

You have to ensure that xdebug is definitely loaded on the version of php you are using.
To do this, use the launch configuration you are using to try to run your script in debug mode and change it to run a script with phpinfo.php in it.
Also a Debug log would be good.

Add:

 xdebug.remote_autostart=On
 xdebug.remote_log="c:\temp\xdebug.log"

to your php.ini.

Then you have to insure that PDT is expecting Xdebug information on port 9000, and have insured that your local Default PHP Web Server is http://127.0.0.1.

With the log, you might discover, for instance, that your php.ini files is not properly formatted, which could be enough to prevent you debugging PHP from PDT.

like image 70
VonC Avatar answered Nov 12 '22 14:11

VonC