Public bug reported:

Xubuntu 12.04

Eclipse and pdt are not installed with apt (I use binary packages
instead).

php5-xdebug is installed with apt.
apache2 and php5 are installed with apt. 

Problem: Xdebug don't start with eclipse webserver start.

Solution: In /etc/php5/apache2/conf.d/xdebug.ini I add four lines:

xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"

After that it works with eclipse default settings.

Not tested: debugging cli-application (I guess this is just another
config-file)

Found solution in: http://www.64bitjungle.com/tech/debugging-php-
applications-with-xdebug-and-eclipse-pdt/

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1124320

Title:
  xdebug is not configured well

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1124320/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to