Debugging PHP on tomcat

We use PHP over tomcat with the Java/PHP bridge (http://php-java-bridge.sourceforge.net/pjb/). I've got tomcat setup locally and I'm able to view our company website without problems. I'm trying to setup some sort of debugging but I'm not having any luck. I've tried setting up the zend debugger as well as xdebug. Has anyone had any luck getting PHPstorm to debug your PHP code that's running on tomcat? Here's what I have setup in my php.ini so far:

zend_extension="C:\PHP\ext\ZendDebugger.dll"
zend_debugger.allow_hosts=127.0.0.1



I know that path is correct. I've selected the zend debuger as my debugger and I've setup xdebug with a regular PHP installation before using PHPstorm, so I should be able to get this working.

Thanks for taking the time to read this.
0
Avatar
Permanently deleted user

Hello Davis,

Please check your phpinfo() output. Does it contain 'Zend Debugger' section?

Thank you for feedback!
0

请先登录再写评论。