本文章來給大家詳細(xì)介紹關(guān)于mac php netbeans xdebug 配置方法詳解,希望此教程對各位同學(xué)有所幫助.
PHP 配置 /opt/local/var/db/php5/xdebug.ini,代碼如下:
- zend_extension=/opt/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
- [xdebug]
- xdebug.remote_enable=1
- xdebug.remote_host=localhost
- xdebug.remote_port=9000
- xdebug.remote_mode=req
- xdebug.remote_handler=dbgp
- //開源代碼Vevb.com
- 1 output_buffering = Off
重啟服務(wù)器.NetBeans配置,command + , – 選擇php標(biāo)簽頁,在常規(guī)標(biāo)簽中填寫,PHP 5 解釋器:/opt/local/bin/php(php文件的位置),調(diào)試標(biāo)簽中填寫,調(diào)試器端口:9000,會話ID:netbeans-xdebug,其他配置根據(jù)需要更改.
新聞熱點(diǎn)
疑難解答
圖片精選