-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
I would like to enable/disable xdebug extension from environment variable which is configured in .env file. I put the following statement to the docker-compose.yml file but it did not work out by some reason.
PHP_XDEBUG: ${PHP_XDEBUG}
I guess this condition is evaluated to true when the variable holds an empty string.
| {{ if getenv "PHP_XDEBUG" }} |
I am not familiar with go template syntax. Can it check more explicitly for emptiness of PHP_XDEBUG variable?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels