What would be the best practice for debugging on Symfony2 production website using profiler toolbar? Log files are good but what if I need more info, eg. doctrine queries, routing, etc.
1
votes
1 Answers
1
votes
Prod environments is not intended to debug application. You should never enable debug mode on production server (prod
env). You can see what was wrong (errors ect.) in log files app/logs/prod.log
.
You should debug doctrine, routing etc. on dev
, staging
, preProd
etc. servers - places where you run application in dev
env.