How do you install debug symbols on KDE Linux?

I think I got it working. The biggest problem was that kwin would keep crashing so I couldn’t use the automatic popup of DrKonqi to install debugging symbols.

Here are some of the things that I did (in case someone else has the same issue):

  1. Made kwin crash (so I could use DrKonqi). I ran this at the command line: "kill -SIGSEGV $(pidof kwin_wayland)”. In “KWin - Crash Handler”, click “See Developer Information”. Then click “Install Debug Symbols”. Also, click “Automatically download debug symbols to enhance crash reports”
  2. Create gdbinit file for root. Run: “echo “set debuginfod enabled on” > sudo tee /root/.gdbinit”
  3. Other helpful links:
    Core dump - ArchWiki
    Plasma Crash Course - DrKonqi - Harald Sitter's KDE Blog