aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/default/container/services_console.yml8
-rw-r--r--phpBB/config/development/config.yml3
-rw-r--r--phpBB/config/installer/container/services.yml8
3 files changed, 19 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml
index aee3cbdee6..71b6244e13 100644
--- a/phpBB/config/default/container/services_console.yml
+++ b/phpBB/config/default/container/services_console.yml
@@ -1,4 +1,12 @@
services:
+ console.exception_subscriber:
+ class: phpbb\console\exception_subscriber
+ arguments:
+ - @language
+ - %debug.exceptions%
+ tags:
+ - { name: kernel.event_subscriber }
+
console.command_collection:
class: phpbb\di\service_collection
arguments:
diff --git a/phpBB/config/development/config.yml b/phpBB/config/development/config.yml
index 93ae07fb3f..f39eb52e73 100644
--- a/phpBB/config/development/config.yml
+++ b/phpBB/config/development/config.yml
@@ -4,6 +4,9 @@ imports:
core:
require_dev_dependencies: true
+ debug:
+ exceptions: true
+
twig:
debug: true
auto_reload: true
diff --git a/phpBB/config/installer/container/services.yml b/phpBB/config/installer/container/services.yml
index 8296bcc079..5cd30f9222 100644
--- a/phpBB/config/installer/container/services.yml
+++ b/phpBB/config/installer/container/services.yml
@@ -68,3 +68,11 @@ services:
- null
- @template.twig.loader
- []
+
+ console.exception_subscriber:
+ class: phpbb\console\exception_subscriber
+ arguments:
+ - @language
+ - %debug.exceptions%
+ tags:
+ - { name: kernel.event_subscriber }