Reference: http://anthonyringoet.be/post/setting-up-xdebug-mamp-netbeans-for-debugging/
How to debug php at Netbeans at Mac OS.
It is easy. Three steps
(1) install MAMP
http://www.mamp.info/en/
(2) run a php script for "phpinfo()" to
find "php.ini" file
(3) modify "php.ini" file
How to debug php at Netbeans at Mac OS.
It is easy. Three steps
(1) install MAMP
http://www.mamp.info/en/
(2) run a php script for "phpinfo()" to
find "php.ini" file
(3) modify "php.ini" file
[xdebug]
zend_extension="/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
Comments
Post a Comment