NB 6.8 and Xdebug: i can't operate

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tirengarfio
Forum Newbie
Posts: 1
Joined: Tue Jan 26, 2010 5:47 am

NB 6.8 and Xdebug: i can't operate

Post by tirengarfio »

Hi,

im trying to to debug my projects with Xdebug.

This is my stuff:

I have checked trought phpinfo() Xdebug is correctly installed.

My file xdebug.so is in /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/

At the end of php.ini i have written this:

Code: Select all

[Zend]
zend_extension="/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=rs.localhost
xdebug.remote_port=9000
 
In the PHP options of NB i have this: Debugger port: 9000 ; Session ID: netbeans-xdebug.

When i press Ctrl+F5 (Debug project), a browser is started with this address:
http://rs.localhost/frontend_dev.php/?XDEBUG_SESSION_START=netbeans-xdebug
but never the page is loaded (the spinner goes round).

I dont have any problem if i just write
http://rs.localhost/frontend_dev.php.

¿Any idea?


Regards

Javi
User avatar
JNettles
Forum Contributor
Posts: 228
Joined: Mon Oct 05, 2009 4:09 pm

Re: NB 6.8 and Xdebug: i can't operate

Post by JNettles »

Does this server normally work properly without XDebug? I guess I'm asking if you're pointing to the right Apache port.
Post Reply