简体   繁体   English

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

[英]debugging using xdebug and cakephp in eclipse PDT

I'm working on one web application. 我正在开发一个Web应用程序。 I wanted to provide interactive debugging to my web application, so i have installed xdebug on my machine( windows ) successfully. 我想为我的Web应用程序提供交互式调试,所以我已经在我的计算机(Windows)上成功安装了xdebug。 Done with all the configuration settings in php.ini file. 完成php.ini文件中的所有配置设置。 I am able to debug normal php scripts except cakephp project. 我可以调试正常的PHP脚本,但cakephp项目除外。

I hv used cakephp and eclipse IDE for development. 我用Cakephp和Eclipse IDE进行开发。 I stuck @ one point that, for debugging in Eclipse using xdebug. 我坚持说一点,以便使用xdebug在Eclipse中进行调试。 I dont know how to set debug configuration in eclipse for cakephp specific. 我不知道如何在特定于cakephp的eclipse中设置调试配置。

Is there any other configuration settings needed in eclipse for debugging cakephp application using xdebug. eclipse中是否需要使用xdebug调试cakephp应用程序的任何其他配置设置。

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. 我在URL下面说了一下,那需要删除cakeProject \\ app \\ webroot中的.htaccess文件,并使用cakeProject \\ app下的另一个文件。

http://cakephp.19694.n2.nabble.com/How-to-debug-with-ZendDebugger-XDebug-using-Eclipse-PDT-Netbeans-td1477152.html 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 -普拉文

Give this tutorial a try. 尝试一下本教程。 It's using the Zend debugger not Xdebug but that really doesn't matter. 它使用的是Zend调试器而不是Xdebug,但这没关系。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM