Xdebugのインストール後のローカルプロジェクトへのアクセスが特に遅い

863 ワード

コンフィギュレーション
[Xdebug]
zend_extension = "E:\SoftWare\php\php-73\ext\php_xdebug-2.7.2-7.3-vc15-nts-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9009
xdebug.remote_autostart = 1
xdebug.remote_handler = "dbgp"
xdebug.idekey = PHPSTORM
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
xdebug.default_enable = "Off"
xdebug.remote_mode = req

リファレンスリンク
リファレンスリンク
説明
  • xdebug.remote_enable = 0またはxdebug.remote_autostart = 0を設置し、この2つのいずれかをオフにすると、遅くなることはありませんが、オフにするとブレークポイントを傍受できなくなります.
  • xdebug.remote_host127.0.0.1ではなくlocalhostに変更され、phpstormの設定も.
  • xdebug.remote_portは、使用可能なポートであり、phpstormの構成と同じであればよい.
  • 残りの配置は、配置に従えばよい.

  • ブログ