Hi my PHP project is set up开发者_JS百科 on a remote test machine. I need to debug it using eclipse IDE. How shall I progress. I came to know i should prefer Xdebug rather than zend debugger.
Here are some tutorials you can use.
- (dead link)
http://www.starbowconsulting.com/blog/tao/setting-eclipse-pdt-and-xdebug - (updated link below)
http://devzone.zend.com/article/2930 - https://devzone.zend.com/1147/debugging-php-applications-with-xdebug/
- http://robsnotebook.com/php_debugger_pdt_xdebug
- http://xdebug.org/docs/remote
NOTE: From PHP 5.3 onwards, you always need to use the "zend_extension" PHP.ini setting name, and NOT "zend_extension_ts", nor "zend_extension_debug". This took me a few hours to get working because I was following some outdated links.
This worked very well for me: http://www.xdebug.org/wizard.php
精彩评论