Skip to content

Instantly share code, notes, and snippets.

@macghriogair
Last active November 15, 2021 15:54
Show Gist options
  • Save macghriogair/d3f4b569f6d19bc9a28070f83840c0bf to your computer and use it in GitHub Desktop.
Save macghriogair/d3f4b569f6d19bc9a28070f83840c0bf to your computer and use it in GitHub Desktop.
[Xdebug cli command in docker with PHPStorm ] #xdebug #docker
export XDEBUG_MODE=develop,debug
export PHP_IDE_CONFIG="serverName=php-docker.local"
;;xdebug 3
;;default: 9003
xdebug.client_port=9003
xdebug.log=/tmp/xdebug.log
xdebug.output_dir=/tmp/grinds
xdebug.client_host=host.docker.internal
xdebug.discover_client_host=true
xdebug.idekey=PHPSTORM
xdebug.start_with_request=yes
;xdebug.start_with_request=trigger
;;avail: develop,debug,profile,trace,coverage,gcstats
xdebug.mode=develop,debug
error_reporting=E_ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment