When I installed Xdebug through pecl
, it added the following line to my php.ini file.
extension="xdebug.so"
and everything I used worked. Until today.
Today I was having trouble setting up Xdebug for interactive debugging. I couldn't get anything working until I changed the above to
zend_extension="/usr/local/lib/php/extensions/xdebug.so"
(Caveat: I think this is what got me working, but I'm not 100% sure)
This raised the question in my mind. What's the difference in loading an extension via extension=
vs. zend_extension
?
extension=xdebug.so
allowed me to remote debug using xdebug_break() but not IDE breakpoints. – Bil