Skip to content
MAMP PRO Documentation

Using the MacGDBp Debugger

To use the MacGDBp Debugger, first enable the Xdebug extension on the Settings › Languages › PHP page. Restart your servers in MAMP PRO. Open the MacGDBp Debugger application. You may see a warning message about incoming network connections; click “Allow” to proceed.

MacGDBp - Accept incoming network connections

Open your site and you should see a blank page in your browser. This is because the MacGDBp debugger has stopped your code at the first line of PHP code. You can now step through your PHP code.

MacGDBp - Breakpoint


PHP how-to guides