Skip to content

Instantly share code, notes, and snippets.

@nishim
Last active November 24, 2022 06:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishim/fa43bb903d948a6c077afd96ff96df66 to your computer and use it in GitHub Desktop.
Save nishim/fa43bb903d948a6c077afd96ff96df66 to your computer and use it in GitHub Desktop.
Xdebug2用のphp.iniだとXdebug3.0でエラーが出たので修正したメモ

これを

[xdebug]
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_host=host.docker.internal
xdebug.remote_port=9200
xdebug.remote_log=/tmp/xdebug.log

こうじゃ

[xdebug]
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.client_host=host.docker.internal
xdebug.log=/tmp/xdebug.log
xdebug.client_port=9200

出ていたエラーは

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment