最近、EclipseからPHPStormに乗り換えました。 で、PHPStorm + Xdebugのリモートデバッグを設定してみたので、メモ的に。 php-fpmはデフォルトが9000ポートで、Xdebugとカブってしまいます。 そのあたりも考慮した設定です。 Webサーバー側の設定 remoteデバッグ以外の設定も混じっています。 # vim /etc/php.ini zend_extension="/usr/lib/php/modules/xdebug.so";xdebug.soのディレクトリに適宜修正 xdebug.collect_vars=on xdebug.collect_params=4 xdebug.dump_globals=on xdebug.dump.GET=* xdebug.dump.POST=* xdebug.show_local_vars=on xdebug.rem
![【PHP】php-fpm + Xdebug remote + PHPStormでデバッグ - たんたんめん日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/c6a45bf0503f33de5c605c925fa7d4daf7658c4f/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fd%2Fdnond%2F20130304%2F20130304195421.jpg)