title: Docker compose file not showing PHP errors from wp-config.php?
body: <p>I am currently building a website and just created a Docker environment for it (witch is working pretty good). My docker-compose.yml file looks like this:</p>
  
  <pre><code>version: '3.1'
  services:
    wordpress:
      depends_on:
        - db
      image: wordpress:latest
      restart: unless-stopped
      working_dir: /var/www/html
      volumes:
        - ./wp-content:/var/www/html/wp-content
      environment:
        WORDPRESS_DB_NAME: database
        WORDPRESS_DB_HOST: db:3306
        WORDPRESS_DB_PASSWORD: mypassword
        WORDPRESS_TABLE_PREFIX: wp_
        WORDPRESS_CONFIG_EXTRA:
          define( 'WP_DEBUG', true );
      ports:
        - 9000:80
        - 443:443
      networks:
        - back
    db:
      image: mysql:5.7
      restart: unless-stopped
      volumes:
         - db_data:/var/lib/mysql
      environment:
        MYSQL_ROOT_PASSWORD: mypassword
      networks:
        - back
    phpmyadmin:
      depends_on:
        - db
      image: phpmyadmin/phpmyadmin
      restart: always
      ports:
        - 8080:80
      environment:
        PMA_HOST: db
        MYSQL_ROOT_PASSWORD: mypassword
      networks:
        - back
  networks:
    back:
  volumes:
    db_data:
  </code></pre>
  
  <p>Now I'm working on a plugin, but it's not working. Normally I would see some PHP errors, but now I don't see any. I don't have a wp-config.php file, because my docker-container creates one for me. </p>
  
  <p>When I searched for it, I read that I need to add <strong>WORDPRESS_CONFIG_EXTRA</strong> and could add some code in there, then Docker would add that to my wp-config file. But this doesn't seem to work.</p>
  
  <p>Does anyone know what I'm doing wrong?</p>
  
  <p>Thanks in advance!</p>