Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nowo-tech/TwigInspectorBundle/llms.txt
Use this file to discover all available pages before exploring further.
No blue highlight / no popup when hovering
No blue highlight / no popup when hovering
The overlay only works when it is both enabled and active (green).
- Click the
</>icon in the toolbar to open the dropdown. - Confirm the “Enable” checkbox is checked. If not, check it and wait for the page to reload.
- After reload, click the
</>icon until it turns green. - Move your mouse over the page content — you should now see the blue highlight and popup.
Clicking an element does not open the IDE
Clicking an element does not open the IDE
The browser needs an IDE URL handler registered at the OS level, and Symfony must be told which URL format to use.
- Open (or create)
config/packages/dev/framework.yaml. - Add the
framework.idekey with the URL for your IDE:
- Clear the cache:
php bin/console cache:clear. - Try clicking an element again.
No template timing data in the full panel
No template timing data in the full panel
Template timing data comes from the Symfony Twig profiler, which is a separate component from the inspector overlay.
- The overlay, template list, block list, and “open in IDE” functionality all work regardless of whether timing data is available.
- If you want timing data, ensure
twig.debugistrueand that the Symfony WebProfilerBundle is active in thedevenvironment (it is by default in Symfony Flex projects).
Timing data is a diagnostic extra — the core inspector features do not depend on it.
All templates show 'sub-request' and none get inspected
All templates show 'sub-request' and none get inspected
This happens when the page’s main content is rendered as a fragment via Clear the cache and reload.
{{ render(controller(...)) }}. By default the inspector only injects comments during the main request, so fragment-rendered templates appear as “sub-request” and are skipped.Enable injection on sub-requests:Bundle not detected / no `</>` icon in the toolbar
Bundle not detected / no `</>` icon in the toolbar
The bundle must be registered only for
dev and test environments.- Open
config/bundles.phpand confirm the entry is present:
- Clear the cache:
- Reload the page in the
devenvironment. The</>icon should appear in the Web Profiler toolbar.
Routes not found (404 when clicking 'open in IDE')
Routes not found (404 when clicking 'open in IDE')
The bundle routes must be imported into your routing config under a If it is missing, add it (and a matching Alternatively, run the install command to have it added automatically:
when@dev guard.Check config/routes.yaml for the following block:when@test block if needed), then clear the cache: