Debug Crashes in Flatpak Apps
First install debug packages for the app that crashed. Run the following command in a terminal window:
flatpak install --include-sdk --include-debug [app id]
Where [app id] is the ID of the app, like org.kde.okular.
Then get a backtrace of the crash:
flatpak-coredumpctl [app id]
Then follow the normal instructions for using coredumpctl to complete the process of getting a developer-readable backtrace of the crash.
Further information
Article contributed by Nate Graham under the CC-BY-4.0 license.