views:

157

answers:

0

I'm having no luck whatsoever with debuggers either on Zend Studio or NetBeans. I cannot believe the difficulty I'm having with these IDE's. I've read all the prior questions on netbeans-xdebug problems. According to those answers, my configuration is correct. Nonetheless, when I try to run xdebug, NetBeans hangs. I cancel the connection and get the popup dialog: "There is no connection, blah blah blah..."

Here's my php.ini

[xdebug]
; Xdebug config for Mac OS X and NetBeans IDE
zend_extension=/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=netbeans-xdebug

In NetBeans preferences, my session ID = netbeans-xdebug. I tried

xdebug.idekey="netbeans-xdebug"

That made no difference. I restarted the web server every time. Anyone have any other suggestions I might try?

Thanks.