SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-03-20 12:57:20

RichAustin
Member
Registered: 2011-03-11
Posts: 11

[SOLVED] NetBeans debugger

Hi

Hopefully someone has an idea on this one. I need to use the NetBeans debugger for php projects. For some reason it refuses to start a debug session. I've used it on Ubuntu / openSuse etc. without a problem.

I've installed php-pear and php5-dev from the package manager. Installed xdebug with "sudo pecl install xdebug".

My xdebug section in php.ini is:

[XDEBUG]
; Load netbeans xdebug
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey=netbeans-xdebug

Xdebug is loaded ok - I checked using phpinfo();

The netbeans IDE just sits there waiting for a connection until it times out. I've maybe missed something simple but i wondered if there are any known quirks with netbeans in #! as I haven't tried it on this platform before.

Thanks in advance for any ideas.

Rich

Last edited by RichAustin (2011-03-21 08:55:46)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-03-21 08:56:45

RichAustin
Member
Registered: 2011-03-11
Posts: 11

Re: [SOLVED] NetBeans debugger

Sorry! I was right - it was me being stupid! I had the run configuration pointing at an html file instead of php.

Rich

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo