...
- Zero-configuration Web Application Debugging with Xdebug and PhpStorm
- Xdebug Installation Guide
Zend Debugger Installation Guide
Note Please note that if you are using latest MAMP PRO, httpd.conf, php.ini and my.cnf files should be edited through the Template Editor provided by MAMP PRO. Go to File->Edit Template to edit template files. When MAMP PRO starts the Apache and MySQL server it uses these templates to create httpd.conf and php.ini files, erasing the previous ones.
Once you have installed and configured the debugger, you can validate your debugging configuration by using the tutorial.
Integrating the Apache server
...