xdebug config in MAMP Mac OS X

locate php.ini:


; Implicit flush tells PHP to tell the output layer to flush itself
; automatically after every output block.  This is equivalent to calling the
; PHP function flush() after each and every call to print() or echo() and each
; and every HTML block.  Turning this option on has serious performance
; implications and is generally recommended for debugging purposes only.
implicit_flush = On

uncomment the setting zend_extension and add the following:


Note that port 9000 is the standard setting in PhpStorm (see Preferences > Debug > xDebug

Restart the webserver.

Install the xDebug Chrome Helper.