How to debug missing calendar events

I’m trying to use gnome-calendar 47.0 on Debian unstable and added some of my Nextcloud calendars.

Unfortunately, gnome-calendar only shows some of the events in my main calendar - most of them are missing.

How can I debug where the events get lost?
Are there sync logs somewhere?

Gnome Calendar uses evolution-calendar-factory, so I had to look there.
The wiki has documentation: Apps/Evolution/Debugging – GNOME Wiki Archive

Starting the calendar factory in debug mode showed me errors during sync:

CALDAV_DEBUG=1 /usr/libexec/evolution-calendar-factory  -w
1 Like