I use Manjaro Linux with the Cinnamon desktop and sometimes run into system-level issues, but I have no idea how to properly debug them. It doesn’t feel as straightforward as debugging a normal program. What’s the best way or resource to learn system debugging on Linux?
There are guides available. Search for ‘Linux kernel debugging’ or ‘Linux module debugging’, depending on which you are more interested in. And, of course, learn about the relevant parts of the kernel.
You might have a look at Debugging kernel and modules via gdb¶. The kernel.org site has a wealth of information.