Como debuggear con MAMP y Netbeans

abril 26th, 2011 Posted by apache, mac, netbeans, php 0 thoughts on “Como debuggear con MAMP y Netbeans”

1. Desde la consola:

vi /Applications/MAMP/conf/php5.3/php.ini

2. Buscar [xdebug] y agregar:

[xdebug]
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”

Copyright © 2018 programadorfreelanceargentina.com

Programador Freelance Argentina