By Matt Butcher
macgdbp
Configuring MacGDBp for Debugging a Local Debian Virtual Machine
Submitted by matt on Tue, 2010-09-07 20:42In my current Drupal development environment, I run an entire Debian server stack (LAMP + Memcache + Varnish, etc) inside of a VirtualBox virtual machine. On those frustration-laden occasions when I need to fire up the debugger, I use MacGDBp to connect to the virtual machine. Here's how I configure them. (If you just want to configure MacGDBp for debugging with MAMP or OS X's Apache, you may want to read an earlier article, and then check out the updates for Snow Leopard.
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
21 min 25 sec ago
12 hours 41 min ago
17 hours 17 min ago
17 hours 39 min ago
18 hours 41 min ago
1 day 21 hours ago
2 days 11 hours ago
2 days 13 hours ago
2 days 14 hours ago
2 days 18 hours ago