2010-01-07 05:22 阅读 30

在Snow Leopard上使用XDebug for Drupal 6.14?

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???


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • 已采纳
    dongliqian6245 dongliqian6245 2010-01-07 06:43

    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.

    点赞 评论 复制链接分享
  • dongsuichi6529 dongsuichi6529 2010-10-10 20:34

    I created a step by step instruction on how to install and enable Xdebug with Netbeans:

    Hope this can also help!

    点赞 评论 复制链接分享