开始调试 PHP (Drupal) 的最简单方法
开始调试并点击 Drupal 安装中的特定行的最简单方法是什么?
- 一般来说?
- 与日食? (多难?)
- 在 Windows 上,了解并访问 Visual Studio(使用 Visual Studio 有多难?)
(无付费:免费或试用)
在 Windows 本地,我使用 Acquia Drupal WAMP 堆栈。在服务器 Ubuntu/Webmin/LAMP 上。
What is the simplest way to get started with debugging and hit a specific line in a Drupal install?
- Generally?
- With Eclipse? (how difficult?)
- On Windows, knowing and having access to Visual Studio (How Difficult with Visual Studio?)
(No Pay: Free or trial)
Locally on Windows I am using the Acquia Drupal WAMP-stack. On the server Ubuntu/Webmin/LAMP.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
事实上,调试 Drupal 就像调试任何 PHP 应用程序一样简单:)
有一个 Visual Studio 插件添加了对 PHP http://www.jcxsoftware.com/ 的支持 - 它是商业的很遗憾。
如果您正在寻找使用 X-Debug 的免费解决方案,我推荐
正常工作,希望你不会生我的气,但是我'我也会推荐我自己的 IDE
还有基于 Java 的 IDE(如提到的 Eclipse、Aptana、NetBeans 等),但我没有使用它们的经验,因为它们对我来说消耗了太多内存
debugging Drupal is as easy as debugging any PHP application in fact :)
there's Visual Studio plugin which adds support for PHP http://www.jcxsoftware.com/ - it is commercial unfortunately.
If you're looking for free solutions working with X-Debug I'd recommend
well hopefully you won't be mad with mebut I'll recommend also my own IDE as well
There are also Java-based IDEs (like mentioned Eclipse, or Aptana, NetBeans etc) however I have no experience with them as they consume way too much memory as for me
有一些关于如何将 Eclipse 与 Xdebug 设置在一起的教程。这是我自己使用的一个很棒的组合。
有时,对于轻量级调试,我发现 Firefox 的 FirePHP 插件非常方便。
There's a few tutorials out there on how to setup Eclipse together with Xdebug. It's a great combo that I use myself.
Sometimes for light-weight debugging, I have found the FirePHP plugin to firefox to come really handy.
如果您正在寻找免费/操作系统选项,我建议您使用带有 XDebug 的 Eclipse PDT。
一个好的起点是
http://www.eclipse. org/pdt/articles/debugger/os-php-eclipse-pdt-debug-pdf.pdf
If you're looking for free/os options I would recommend using Eclipse PDT with XDebug.
A good place to start is
http://www.eclipse.org/pdt/articles/debugger/os-php-eclipse-pdt-debug-pdf.pdf