Can't seem to enable debug mode

Hi everyone,

I can’t seem to figure out why my debug mode isn’t working.

I go to a page, and it says: “This page is currently offline due to an unexpected error. We are very sorry for the inconvenience and will fix it as soon as possible. Advice for developers and administrators: Enable debug mode to get further information about the error.”

This is what my config/config.php looks like:


    return [
        'debug'  => true


Nothing seems to change.

I have tried restarting my local server. I’m on Kirby 3.9 with PHP 8.2 locally on MAMP.

Thank you!

Is that your only config file?

On a side note, don’t use a closing PHP tag

Yes, it’s my only config file. Noted, I’ll remove closing PHP tag!

Oh wow, I fixed it. The config/ folder needs to be inside the site/ folder!