- Включить сообщения об ошибках в админке admin/config/development/logging
- Установить уровень ошибок в settings.php - $config['system.logging']['error_level'] = 'verbose';
On a development site I would suggest uncommenting the following lines in the settings.php file. emacs sites/default/settings.php
Код: Выделить всё
if (file_exists(__DIR__ . '/settings.local.php')) {
include __DIR__ . '/settings.local.php';
}
Код: Выделить всё
cp sites/example.settings.local.php sites/default/settings.local.php
Код: Выделить всё
$config['system.logging']['error_level'] = 'verbose';
Note : If you think adding a file_exists call to each page will slow down the site, you can always remove it in the production code.