Como debuggear con MAMP y Netbeans

1. Desde la consola: vi /Applications/MAMP/conf/php5.3/php.ini 2. Buscar y agregar: xdebug.default_enable=1 xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_autostart=1 zend_extension=»/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so» 3. Reinicar MAMP 4. En Netbeans click derecho sobre el proyecto -> «Debug»