I'm having a serious time trying to get the Zend Debugger working on the PHP side with MAMP 1.9.6.
I added the following lines at the end of my php.ini file:
zend_extension = "/Applications/MAMP/bin/php5.3/zend/ZendDebugger.so"
zend_debugger.allow_hosts = 127.0.0.1/32
zend_debugger.expose_remotely = always
I see in my php info that it's installed and the variables. However, I cannot connect to the debugger from FB/Zend Studio. When I run a debugging session, the PHP [Headless PHP Application] has one item in the stack: <terminated> Session Terminated.
I have searched high and low and the only thing I could find was this line in the Apache log, apparently from the startup.
[Zend Debugger] Debugger compile handler overriden, will not be active in this request
I suspect that there may be a conflict? I tried removing disabling XCache by setting the size to 0. Same thing happened. I tried removing XCache entirely but it seemed to disable PHP functioning.
It seems like we need more details to understand why the debugger fails to run correctly, including the PHP version, arch, and so on. My suggestion that you post the same question in the Zend forum http://forums.zend.com/ where the PHP engine professionals respond. Don't forget to details more about your environment.
I have the exact same problem.
I hoped following the simple tutorials would be enough but php won't stop at breakpoint. So there must be settings to change.
I'm not sure how to configure PHP Server and PHP Debug in FlashBuilder preferences.
If someone know how to debug Flex and PHP, I will be happy to give more details, but I just don't know what is relevant.
In MAMP preferences -> PHP, I use no cache (default is XCache) and it works.