]> Raphaël G. Git Repositories - airlibre/commitdiff
Readd config packages web profiler yaml file
authorRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 11:32:05 +0000 (12:32 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 11:32:05 +0000 (12:32 +0100)
Add web profiler config

config/packages/web_profiler.yaml [new file with mode: 0644]

diff --git a/config/packages/web_profiler.yaml b/config/packages/web_profiler.yaml
new file mode 100644 (file)
index 0000000..b946111
--- /dev/null
@@ -0,0 +1,17 @@
+when@dev:
+    web_profiler:
+        toolbar: true
+        intercept_redirects: false
+
+    framework:
+        profiler:
+            only_exceptions: false
+            collect_serializer_data: true
+
+when@test:
+    web_profiler:
+        toolbar: false
+        intercept_redirects: false
+
+    framework:
+        profiler: { collect: false }