Sometimes when there is a bug in my Symfony2 Application I will see the regular exception page, this is not a problem, But then about 3 or 4 seconds later a Javascript alert will popup saying something like
An error occurred while loading the web debug toolbar (404: Not Found). Do you want to open the profiler?
This is extremely annoying as if I have changed focus to another tab or application it pull focus back to that tab in my browser. The profiler is enabled and usually visible, so why is it not showing on this particular error pages and then showing this annoying JS Alert instead.
Can I disable this alert? I have had looked here http://symfony.com/doc/current/reference/configuration/web_profiler.html http://symfony.com/doc/current/reference/configuration/framework.html#profiler
But none of them helped.
(I know I could potentially change settings in my browser or OS but this is the only time JS Alerts are really bothering me)