Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

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:

  1. Copy your virtual host (www.example.com -> dev1828.example.com)
  2. Change dev1828.example.com to use the dev environment
  3. Add an entry to your hosts file pointing dev1828.example.com to the same IP www.example.com is at
  4. 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.


Written by Jani Tarvainen on Monday October 26, 2015
Permalink -

« eZ Platform Multisite & Multiple Repository Configuration - Check the existence of a field in a Content Object in eZ Publish in Twig »