Struggling to activate debug mode

Ah, thanks so much for confirming that the <?php statement is required! I’m only now seeing that the first example on Configuration | Kirby includes it, but most subsequent examples and documentation omit it. E.g. here and here.

I’m still not seeing any errors in the nginx error.logs - not sure whats going on here. phpinfo() tells me:

  • error_log = syslog
  • log_errors = On

There’s nothing relevant in /var/log/syslog nor /var/log/nginx/error.log.

In the browser I now see a pretty error rendering by something called “Whoops”. Could that somehow catch errors and prevent them from being logged?