php - Symfony2 enable profiler but cannot reach it -


i working on symfony2 project, trying enable profiler can further debugging. expect see x-debug-token-link under response headers dont see , cant see toolbar @ bottom of page.

in routing_dev.yml seems these options enabled:

framework:     router: { resource: "%kernel.root_dir%/config/routing_dev.yml" }     profiler: { only_exceptions: true }  web_profiler:     toolbar: true     intercept_redirects: false 

yet cannot reach profiler. there missing...?

make sure app_dev.php or other entry point enables debugging:

debug::enable(); 

also make sure routing_dev.yml contains profiler routes:

_profiler:     resource: "@webprofilerbundle/resources/config/routing/profiler.xml"     prefix:   /_profiler 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -