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.

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.
