From f4ff91da6c06379e2c6d46f0a0fd3aa1f1911adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 3 Nov 2019 14:23:09 +0100 Subject: [PATCH] Fix: Add environment variables related to Xdebug to documentation --- doc/03-cli.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/03-cli.md b/doc/03-cli.md index 8cfd5cac0..d73f5a81e 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -808,6 +808,10 @@ If set to 1, this env disables the warning about running commands as root/super It also disables automatic clearing of sudo sessions, so you should really only set this if you use Composer as super user at all times like in docker containers. +### COMPOSER_ALLOW_XDEBUG + +If set to 1, this env allows running Composer when the Xdebug extension is enabled, without restarting PHP without it. + ### COMPOSER_AUTH The `COMPOSER_AUTH` var allows you to set up authentication as an environment variable. @@ -833,6 +837,10 @@ By default it points to `$COMPOSER_HOME/cache` on \*nix and macOS, and By setting this environmental value, you can set a path to a certificate bundle file to be used during SSL/TLS peer verification. +### COMPOSER_DISABLE_XDEBUG_WARN + +If set to 1, this env suppresses a warning when Composer is running with the Xdebug extension enabled. + ### COMPOSER_DISCARD_CHANGES This env var controls the [`discard-changes`](06-config.md#discard-changes) config option.