apache/nginx xdebug 配置

下面扩展路径要自己改

  1. [Xdebug]
  2. zend_extension=E:\phpstudy_pro\Extensions\php\php7.4.3nts\ext\php_xdebug.dll
  3. xdebug.remote_enable=On
  4. xdebug.remote_handler=dbgp
  5. xdebug.remote_mode=req
  6. xdebug.remote_host=localhost
  7. xdebug.remote_port=9000
  8. xdebug.idekey="PHPSTORM"
  9. xdebug.collect_params=1
  10. xdebug.collect_return=1
  11. xdebug.auto_trace=Off
  12. xdebug.trace_output_dir=E:/phpstudy_pro/Extensions/php_log/php7.4.3nts.xdebug.trace
  13. xdebug.profiler_enable=Off
  14. xdebug.profiler_output_dir=E:/phpstudy_pro/Extensions/php_log/php7.4.3nts.xdebug.profiler
  15. xdebug.remote_cookie_expire_time = 3600 # 解决phpstorm 断点时间过短问题