できそうでできなくて苦労したのでメモ。 環境 PHP:7.0.9 Xdebug:2.4.1 PHPStorm:2016.2.2 前提 Vagrantの仮想環境にApache、PHP、Xdebugはインストール済み Vagrant(の仮想環境) CentOSで試しましたが、特にOS依存はないです、たぶん。 php.ini Xdebug用の設定値を追記します。他にも設定値がありますが、とりあえず動けばいいや的な。 [xdebug] zend_extension=/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so ; Xdebugモジュールのパス xdebug.remote_enable=On xdebug.remote_autostart=On xdebug.remote_host=192.168.33.1 ;デバッグ接続するPCのIPアド
