This is a quick start guide for using GDB on Ryujinx, intended for users who want to debug games or mods more easily on Ryujinx.
Ryujinx’s GDB Stub still lacks some features (e.g., watchpoints). If possible for your situation, it’s highly recommended to use real Switch hardware with Atmosphere for GDB debugging instead.
Guide for using GDB on a modded Switch running Atmosphere: GDB for Switch Modding Cheatsheet/Tutorial
The device you install GDB on can be different from the one running Ryujinx.