浏览代码

Merge pull request #8407 from localheinz/fix/environment-variables

Fix: Add environment variables related to Xdebug to documentation
Jordi Boggiano 5 年之前
父节点
当前提交
7e92950367
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      doc/03-cli.md

+ 8 - 0
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
 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.
 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
 ### COMPOSER_AUTH
 
 
 The `COMPOSER_AUTH` var allows you to set up authentication as an environment variable.
 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
 By setting this environmental value, you can set a path to a certificate bundle
 file to be used during SSL/TLS peer verification.
 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
 ### COMPOSER_DISCARD_CHANGES
 
 
 This env var controls the [`discard-changes`](06-config.md#discard-changes) config option.
 This env var controls the [`discard-changes`](06-config.md#discard-changes) config option.