xdebug is not configured well

Bug #1124320 reported by Exoon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdebug (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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/

Exoon (exoon)
affects: ubuntu → xdebug (Ubuntu)
Changed in xdebug (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Meredith (mez) wrote :

Working as intended. We do not expose a debugger by default.

Changed in xdebug (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.