Last active
November 15, 2021 15:54
-
-
Save macghriogair/d3f4b569f6d19bc9a28070f83840c0bf to your computer and use it in GitHub Desktop.
[Xdebug cli command in docker with PHPStorm ] #xdebug #docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export XDEBUG_MODE=develop,debug | |
export PHP_IDE_CONFIG="serverName=php-docker.local" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;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