Created
January 7, 2021 09:42
-
-
Save adrianodias8/8902f5b40145536a2dcfd11b3f12acf3 to your computer and use it in GitHub Desktop.
Drupal Dev mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local development services. | |
# | |
# To activate this feature, follow the instructions at the top of the | |
# 'example.settings.local.php' file, which sits next to this file. | |
parameters: | |
http.response.debug_cacheability_headers: true | |
twig.config: | |
debug: true | |
auto_reload: true | |
cache: false | |
services: | |
cache.backend.null: | |
class: Drupal\Core\Cache\NullBackendFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$settings['container_yamls']['0'] = './sites/default/services.yml'; | |
$settings['container_yamls']['1'] = './sites/development.services.yml'; | |
$settings['cache']['bins'] = [ | |
'page' => 'cache.backend.null', | |
'dynamic_page_cache' => 'cache.backend.null', | |
'render' => 'cache.backend.null', | |
]; | |
$config['system.logging']['error_level'] = 'verbose'; | |
$config['system.performance']['css'] = ['preprocess' => false]; | |
$config['system.performance']['js'] = ['preprocess' => false]; | |
error_reporting(E_ALL); | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment