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

发布于 2024-09-17 07:42:00 字数 732 浏览 5 评论 0原文

我正在开发一个网络应用程序。 我想为我的 Web 应用程序提供交互式调试,因此我已在我的计算机(Windows)上成功安装了 xdebug。完成 php.ini 文件中的所有配置设置。 我能够调试除cakephp项目之外的普通php脚本。

我使用cakephp和eclipse IDE进行开发。 我坚持了一点,即使用 xdebug 在 Eclipse 中进行调试。我不知道如何在 eclipse 中针对 cakephp 特定设置调试配置。

eclipse 中是否需要任何其他配置设置来使用 xdebug 调试 cakephp 应用程序。

我在下面的网址中说需要删除 cakeProject\app\webroot 中的 .htaccess 文件并使用 cakeProject\app 下的另一个文件。

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

请大家建议我,如果你有更好的想法

谢谢

-Pravin

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧情勿念 2024-09-24 07:42:00

尝试一下本教程。它使用的是 Zend 调试器而不是 Xdebug,但这并不重要。

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

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文