Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Getting xDebug working
Getting xDebug working [message #916386] Tue, 18 September 2012 20:41 Go to next message
Ben Warrick is currently offline Ben Warrick
Messages: 1
Registered: September 2012
Junior Member
I'm trying to get xDebug working. I've run out of ideas and have followed a number of tutorials. I'm running Kubuntu 11.10 and Eclipse 3.7.0

PDT and xDebug are both installed. I have the following setting under php->debug

PHP Debugger: XDebug
Server: Default PHP Web Server
PHP Executable: System PHP

The following is the config file created when I installed xDebug (/etc/php5/conf.d/xdebug.ini) which contains the following:

zend_extension=/usr/lib/php5/20090626/xdebug.so
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_port=9000

I reloaded apache after adding the last three lines, and I confirmed the zend_extension path. I also restarted Ecplipse.

Any advice would be great. Thanks.
Re: Getting xDebug working [message #918917 is a reply to message #916386] Fri, 21 September 2012 09:28 Go to previous messageGo to next message
Eclipse User
On 2012-09-19 02:41, Ben Warrick wrote:
> I'm trying to get xDebug working. I've run out of ideas and have
> followed a number of tutorials. I'm running Kubuntu 11.10 and Eclipse 3.7.0
>
> PDT and xDebug are both installed. I have the following setting under
> php->debug
>
> PHP Debugger: XDebug
> Server: Default PHP Web Server
> PHP Executable: System PHP
>
> The following is the config file created when I installed xDebug
> (/etc/php5/conf.d/xdebug.ini) which contains the following:
>
> zend_extension=/usr/lib/php5/20090626/xdebug.so
> xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_port=9000
>
> I reloaded apache after adding the last three lines, and I confirmed the
> zend_extension path. I also restarted Ecplipse.
> Any advice would be great. Thanks.



Check that Eclipse's web browser settings are correct.

Window/Preferences/General/Web Browser/external Web Browsers/Edit settings

If eclipse can't launch the browser (even an external browser), it'll
wait forever to come up

my 2 cents,
Knut
Re: Getting xDebug working [message #925967 is a reply to message #918917] Fri, 28 September 2012 03:22 Go to previous message
Robert Gruendler is currently offline Robert Gruendler
Messages: 66
Registered: June 2011
Member
Could you provide more details?

- Is the browser launching at all?
- If yes, which one?
- Is the browser launching but the debugger simply doesn't connect?
Previous Topic:Very frequent freezes with 100% cpu usage.
Next Topic:Confusing installation links
Goto Forum:
  


Current Time: Fri Aug 01 00:05:48 EDT 2014

Powered by FUDForum. Page generated in 0.01666 seconds