Sign inSign up

jheimbach/php-xdebug

By jheimbach

•Updated about 7 years ago

Extends https://github.com/JHeimbach/php-basic and adds xdebug

Image
0

1.6K

jheimbach/php-xdebug repository overview

⁠Basic PHP (Dev) Docker container

Extends php-basic⁠ and adds xdebug

⁠Settings

⁠PHP version

to use the available PHP-Version ins php-basic, you can use the build ARG CONTAINER_VERSION to point to a specific version

⁠Env_vars

Use these Variables for the following Settings:

ENV_VARSettingDefault Value
XDEBUG_DEFAULT_ENABLExdebug.default_enableOn
XDEBUG_CLI_ENABLExdebug.cli_enableOff
XDEBUG_REMOTE_ENABLExdebug.remote_enableOn
XDEBUG_REMOTE_CONNECT_BACKxdebug.remote_connect_backOff
XDEBUG_REMOTE_AUTOSTARTxdebug.remote_autostartOn
XDEBUG_REMOTE_LOGxdebug.remote_log/proc/self/fd/2
XDEBUG_IDE_KEYxdebug.idekeyPHPSTORM

Note: The setting xebug.remote_host is automatically pointing 172.17.0.1, the default docker host ip. if you need to change this, add a enviroment setting with XDEBUG_CONFIG: "remote_host=<your.ip.adress>"

⁠own xdebug.ini

There is also the build ARG XDEBUG_INI to point to completely different xdebug.ini

To use the Env_vars and a own xdebug.ini, just put <<VAR_NAME>> in the correct place and it will be automatically replaced

Tag summary

Content type

Image

Digest

Size

184.6 MB

Last updated

about 7 years ago

docker pull jheimbach/php-xdebug