MacGDBp, Version 1.3.1 (34) I was able to successfully debug the above error (viewable in the OSX Console App, All message) by using the following command in terminal: sudo lsof -i -P
SR_Servic was the process that was holding localhost:9000 and keeping MacGDBp from getting debug events. I hunted around a bit (this was on friends machine) and found an old unused VPN client was the problem. Removing it fixed my problems with MacGDBp.
If you run sudo lsof -i -P when MacGDBp is running you should see something like: ... MacGDBp 503 Magellan 5u IPv4 0x04a04ec8 0t0 TCP *:9000 (LISTEN)
Hope this helps someone else and thanks to the developer for putting in the error logging.
MacGDBp had been running for me but for some reason was failing to bind to the socket.
I ran:
sudo lsof -i -P
as described above and saw an SR_SERVIC owned by root was on port 9000. I went into MacGDBp preferences and set the port to 9001 and retried. This time my system console confirmed that MacGDBp was listening on port 9001,
10-12-23 10:30:36 AM Firewall[67] MacGDBp is listening from 0.0.0.0:9001 proto=6
but it still wouldn't hit the xdebug_break() in my code. I remembered that xdebug had some setup in php.ini, so I went there and changed the port reference as well...
xdebug.remote_port=9001
I saved and restarted Apache, which hit a bug (Apparently from the upgrade to OS 10.6.5)
/usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument
Which led me to: http://articles.itecsoftware.com/shell-scripting/fix-for-mac-os-10-6-5-apachectl-line-82-ulimit Though the error says line 82, the ULIMIT_MAX_FILES variable is set around line 64. A couple suggestions I had read suggested changing ULIMIT_MAX_FILES to "", but I liked this guy's suggestion better (1024) :)
I restarted Apache, set up the debugger and reloaded my page that I wanted to debug.