在 Snow Leopard 上使用 XDebug for Drupal 6.14?
只是想知道是否有人很幸运地让 XDebug 在 Snow Leopard 上为 Drupal 6.14 工作?
我注意到 Snow Leopard 似乎附带了 php 5.3,有些人说它应该与 Drupal 6.14 一起使用,尽管我没有任何运气。
失败后,我尝试使用 macports 安装 php 5.2(从 CVS 中查看先前的修订号)。这对于 php 来说效果很好。然而,我却没有那么幸运地让 XDebug 运行起来。
有什么想法吗???
谢谢!
Just wondering if you anybody has had much luck getting XDebug working for Drupal 6.14 on Snow Leopard?
I noticed that Snow Leopard seems to come with php 5.3 which some people say should work with Drupal 6.14, though I haven't had any luck.
After that failed, I tried installing php 5.2 using macports (checking out from CVS at a previous revision number). This works fine for php. However, I have had no such luck getting XDebug going.
Any thoughts???
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果 xdebug 已启用,则在执行 phpinfo(); 时它应该会显示。正确配置 xdebug 后,您可以使用 Netbeans 连接到它。在此处下载 php 版本:NetBeans 下载。您必须创建一个项目并将 netbeans 指向您的 Drupal 安装。之后您可以设置断点并按运行。
If xdebug is enabled it should show up if you execute a phpinfo();. After xdebug is configured properly you can connect to it using Netbeans. Download the php version here: NetBeans Download. You will have to create a project and point netbeans to your Drupal install. After that you can set breakpoints and press run.
我创建了有关如何使用 Netbeans 安装和启用 Xdebug 的分步说明:
http://lucwollants.wordpress.com/ 2010/10/10/xdebug-and-snow-leopard-more-cake/
希望这也能有所帮助!
I created a step by step instruction on how to install and enable Xdebug with Netbeans:
http://lucwollants.wordpress.com/2010/10/10/xdebug-and-snow-leopard-more-cake/
Hope this can also help!