Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug excluded from argument setup #153

Closed
ghost opened this issue Jun 17, 2016 · 3 comments
Closed

Debug excluded from argument setup #153

ghost opened this issue Jun 17, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 17, 2016

Any special reason to not make the following variable being controlled by docker environment setups?

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
@thomasmery
Copy link

I believe you can setup WORDPRESS_DEBUG to 1 or 'true'

making other settings available would be nice indeed

maybe you can use volumes and have a custom wp-config.php to be used

for instance in a docker-compose file:

 volumes:
       - ./my-wp-config.php:/var/www/html/wp-config.php

should work (not tested for now)

@ghost ghost closed this as completed Mar 7, 2017
@motleydev
Copy link

I would like to revisit this idea and have WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY as ENV vars for use in a compose file. These are so integral to development of Wordpress I think this feature would get a ton of use.

@motleydev
Copy link

#142 could also work.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants