From 471f9a84025973b2a7393983cbcd791acf2f7957 Mon Sep 17 00:00:00 2001 From: jadams Date: Mon, 10 Nov 2025 09:38:40 +0100 Subject: [PATCH 1/2] Add profiler readme --- doc/10-profiling.md | 6 ++++++ doc/{10-contribution.md => 11-contribution.md} | 0 2 files changed, 6 insertions(+) create mode 100644 doc/10-profiling.md rename doc/{10-contribution.md => 11-contribution.md} (100%) diff --git a/doc/10-profiling.md b/doc/10-profiling.md new file mode 100644 index 0000000..a26edee --- /dev/null +++ b/doc/10-profiling.md @@ -0,0 +1,6 @@ +## Profiling + +For easier debugging, you can enable the Symfony Profiler. +This bundle provides an easy way to view the cache tags used in the response headers. +Additionally, you can inspect the bundle’s configuration. + diff --git a/doc/10-contribution.md b/doc/11-contribution.md similarity index 100% rename from doc/10-contribution.md rename to doc/11-contribution.md From cfb1cbbf50ce42ddde93861f34f8fe87c9cc3dce Mon Sep 17 00:00:00 2001 From: Jan Adams <56639925+jan888adams@users.noreply.github.com> Date: Mon, 10 Nov 2025 10:18:00 +0100 Subject: [PATCH 2/2] Explanation for symfony profiler Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- doc/10-profiling.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/10-profiling.md b/doc/10-profiling.md index a26edee..d55bae9 100644 --- a/doc/10-profiling.md +++ b/doc/10-profiling.md @@ -4,3 +4,9 @@ For easier debugging, you can enable the Symfony Profiler. This bundle provides an easy way to view the cache tags used in the response headers. Additionally, you can inspect the bundle’s configuration. +### Enabling the Symfony Profiler + +The Symfony Profiler is enabled by default in the `dev` environment. If you need to enable it in another environment, ensure the following bundle is registered in your `config/bundles.php`: + +```php +Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],