diff --git a/CHANGELOG.md b/CHANGELOG.md
index 39fef55..6b0033a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
## [2.2.0] - 2026-04-20
- Added: support for modern twig layouts of contao 5.7 ([#34](https://github.com/heimrichhannot/contao-encore-bundle/pull/34))
- Added: EntrypointsBuilder concept for retriving current page entrypoints ([#34](https://github.com/heimrichhannot/contao-encore-bundle/pull/34))
+- Added: support for symfony debug bar ([#35](https://github.com/heimrichhannot/contao-encore-bundle/pull/35))
- Changed: add constant for default field name ([#34](https://github.com/heimrichhannot/contao-encore-bundle/pull/34))
- Fixed: removed dead or unnecessary code and checks ([#34](https://github.com/heimrichhannot/contao-encore-bundle/pull/34))
- Deprecated: `src/Asset/PageEntrypoints.php`, `src/Asset/TemplateAsset.php` and `src/Asset/TemplateAssetGenerator.php` ([#34](https://github.com/heimrichhannot/contao-encore-bundle/pull/34))
diff --git a/README.md b/README.md
index c48f9d1..f33a743 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-# Contao Encore Bundle
+#  Contao Encore Bundle
[](https://packagist.org/packages/heimrichhannot/contao-encore-bundle)
[](https://packagist.org/packages/heimrichhannot/contao-encore-bundle)

[](https://coveralls.io/github/heimrichhannot/contao-encore-bundle?branch=master)
-
+
Use the power and simplicity of symfony webpack encore in contao. This bundle let you decide on layout and page level, which encore entries should be loaded. If you want more, you can prepare your bundles define their own encore entries, so never need to manually add or remove encore entries again.
diff --git a/config/services.php b/config/services.php
index c3a3e72..d009c7f 100644
--- a/config/services.php
+++ b/config/services.php
@@ -10,6 +10,7 @@
use HeimrichHannot\EncoreBundle\Asset\FrontendAsset;
use HeimrichHannot\EncoreBundle\Asset\TemplateAsset;
+use HeimrichHannot\EncoreBundle\DataCollector\EncoreCollector;
use HeimrichHannot\EncoreBundle\EntryPoint\EntryPointBuilderFactory;
use Psr\Cache\CacheItemPoolInterface;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
@@ -43,11 +44,15 @@
$services
->alias('huh.encore.asset.frontend', FrontendAsset::class)
- ->public()
+ ->public()
;
$services
->alias('huh.encore.asset.template', TemplateAsset::class)
- ->public()
+ ->public()
;
+
+ $services->set(EncoreCollector::class)
+ ->autoconfigure()
+ ->autowire();
};
diff --git a/contao/templates/twig/.twig-root b/contao/templates/twig/.twig-root
new file mode 100644
index 0000000..e69de29
diff --git a/contao/templates/twig/data_collector/huh_encore.html.twig b/contao/templates/twig/data_collector/huh_encore.html.twig
new file mode 100644
index 0000000..6798126
--- /dev/null
+++ b/contao/templates/twig/data_collector/huh_encore.html.twig
@@ -0,0 +1,133 @@
+{% extends '@WebProfiler/Profiler/layout.html.twig' %}
+
+{% block toolbar %}
+
+ {% set icon %}
+
+ {{ collector.entries|length }}
+ {% endset %}
+
+ {% set text %}
+