By Matt Butcher
macgdbp
Debugging your PHP Code: XDebug on MAMP with TextMate and MacGDBp Support
Submitted by matt on Mon, 2009-03-16 22:51
As I see it, there are two major drawbacks to the otherwise-spectacular MAMP (MacOS Apache MySQL, PHP) package (three if you count the funky directory structuring):
- The .h files are all missing, so PECL doesn't work very well.
- There is no debugger.
The first issue is covered elsewhere. In this article, I will address the second by explaining how to setup XDebug on MAMP. XDebug is one of the two popular PHP debugging engines (With ZendDB being the other).
In this article we will cover the following:
- Getting and installing XDebug
- Using XDebug for basic stack tracing
- Integrating XDebug with TextMate
- Configuring XDebug and MacGDBp for client/server debugging
- Using MacGDBp








Recent comments
12 hours 33 min ago
1 day 22 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 11 hours ago
2 days 11 hours ago
1 week 4 days ago
1 week 5 days ago
1 week 6 days ago
2 weeks 16 hours ago