PHP Debugging environment setting in Mac OSX local machine

My Setting, which is quite great up to now based on using for a week or so, is as follows;

  • XAMPP 1.7.4 (PHP 5.3.1)
  • FireFox 3.6.25
  • FireBug 1.7.3
  • Eclipse PDT Indigo 3.0.2
  • Aptana as a plugin
  • Xdebug 2.0.4
  • Zend (debug) 2.3.0

Ref: http://aptanaandpdt.blogspot.com/2011/02/set-debug-configuration-for-aptana.html

Related Issues

  • Eclipse has to be installed with care of each extension’s version, because there are lots of compatibility issues with different versions.
  • Aptana Studio 3 doesn’t support PHP debug. They say they will not too late.

Still Unsolved

  • Javascript debugging doesn’t work for now -> It’s OK. I just didn’t know how to use it.
  • FireFox shows error continuously “Close Firefox. A copy of Firefox is already open”. Which is annoying. -> from some day, this just disappeared. 🙂
  • Variables didn’t properly show at break point. -> This is due to the bug of xDebug of version 2.0.4. It was solved by upgrading xDebug to v2.2.0 by the help from here.
    BTW, upgrading xDebug at Mac OSX was like a hell especially by the way of compiling the source code. Much easier way is to download pre-compiled binary from komodo.

Further Considerations

  • XAMPP is the best solution with MAC OSX?
  • FireFox is quite old version. Will it be OK?

Leave a comment

Your email address will not be published.