Waiting For Connection (netbeans-xdebug) MAMP OS X

后端 未结 4 477
南旧
南旧 2021-02-06 03:45

Preamble

After many hours, I have been unable to get NetBeans to connect to xdebug. Some months ago, after upgrading from an old version of MAMP to MAMP

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 04:35

    it works for me now. I have LAMP installed. I modified according to all answers from above, started apache2 and now it flies... i am happy... for some time i thought to switch to phpstorm, but I reconsidered... tweak a little more... et voila. it's working.

    Here what I have in php.ini

    zend_extension = /usr/lib/php5/20121212/xdebug.so
    
    xdebug.max_nesting_level = 250
    xdebug.auto_trace=On
    xdebug.remote_enable=On
    xdebug.remote_port=9001
    xdebug.remote_handler=dbgp
    xdebug.remote_host=localhost
    xdebug.remote_log="/var/log/xdebug.log"
    xdebug.trace_output_dir=/var/www/AMRO
    xdebug.idekey="netbeans-xdebug"
    

提交回复
热议问题