Display Symfony debug toolbar in production (eZ Platform)
One easy way of displaying the Symfony debug toolbar in production environments is to use an additional virtualhost and a modified hosts file:
- Copy your virtual host (www.example.com -> dev1828.example.com)
- Change dev1828.example.com to use the dev environment
- Add an entry to your hosts file pointing dev1828.example.com to the same IP www.example.com is at
- Open dev1828.example.com and enjoy the toolbar
In the above example dev1828 is used just for making it less easy to guess, but you might as well setup basic authentication.