史上最佳 Mac+PhpStorm+XAMPP+Xdebug 集成開發(fā)和斷點(diǎn)調(diào)試環(huán)境的配置
按照上面配了,第一天有效,第二天又無效了.參看官網(wǎng)和stackoverflow
[xdebug]
zend_extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=on
xdebug.remote_log="/var/log/xdebug.log"
xdebug.remote_port=10688
xdebug.remote_handler="dbgp"
xdebug.idekey="PhpStorm"
改成,如上,能用了,以觀后效.
如果調(diào)試整個(gè)網(wǎng)站,不需要點(diǎn)擊蟲子按鈕,直接開網(wǎng)站就會(huì)自動(dòng)停在斷點(diǎn)處.