UPDATE 1:
I have made a change in:
/etc/php5/apache2/conf.d/xdebug.ini
looks like this:
zend_extension
Your xdebug settings seem fine, although you might need to add another line
xdebug.remote_enable=1
And you probably need to check/change a few settings in Netbeans. Go to Tools - Options - PHP - General and verify that the debugger port is set to 9000 (as is your xdebug port) and the session id is set to netbeans-xdebug
You can verify that xdebug is running when you go to a page that calls phpinfo()
and check for xdebug
in the output.