douchushao7799 2010-08-31 07:07
浏览 88
已采纳

在eclipse PDT中使用xdebug和cakephp进行调试

I'm working on one web application. I wanted to provide interactive debugging to my web application, so i have installed xdebug on my machine( windows ) successfully. Done with all the configuration settings in php.ini file. I am able to debug normal php scripts except cakephp project.

I hv used cakephp and eclipse IDE for development. I stuck @ one point that, for debugging in Eclipse using xdebug. I dont know how to set debug configuration in eclipse for cakephp specific.

Is there any other configuration settings needed in eclipse for debugging cakephp application using xdebug.

I gone though below url saying that need to delete .htaccess file in cakeProject\app\webroot and use another file which are under cakeProject\app.

http://cakephp.19694.n2.nabble.com/How-to-debug-with-ZendDebugger-XDebug-using-Eclipse-PDT-Netbeans-td1477152.html

Please folks suggest me if u hv any better ideas

Thanks

-Pravin

  • 写回答

1条回答 默认 最新

  • dsj83686 2010-08-31 07:12
    关注

    Give this tutorial a try. It's using the Zend debugger not Xdebug but that really doesn't matter.

    http://www.developertutorials.com/tutorials/php/debugging-cakephp-applications-in-zend-studio-for-eclipse-213/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝