Log all exceptions in the server console.
Give access to Twig debugging functions:
- When PieCrust is itself in debugging mode.
- When `twig/debug` is `true` in the site configuration.