开发者

Debugging PHP using Eclipse PDT or Aptana

Guys, has anyone been able to remotely debug a PHP Web page that uses Ajax extensively? (I'm using Zend Debugg开发者_StackOverflower, by the way.) When I debug, the parts of the page that are queried through Ajax HTTP GET are not shown. Is any way fix this?


Setting up Xdebug with the firefox xdebug helper plugin, and an ide like netbeans is the way to go. If you have multiple developers using your server, use the pydbgpproxy supplied by komodo.

Netbeans is the easiest to set up debugging with by the way, its one setting in the app and a couple against the project. Just make sure you map your paths properly and tell netbeans to not open a browser window so you control the debug start from firefox.


I like using NetBeans with Xdebug. The firefox addon tamperdata is useful for replaying ajax requests for a debug session.


In the end I've given up on Zend Debugger. I've installed X-debug, and not only that it properly debugs Ajax pages, but it is also much faster.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜