UnityDoorstop implementation with Harmony patch that converts pdb to mdb allowing mono to read debug symbols.
- Select your configuration(Win/MacOS/Linux).
- Select your platform(x64/x86) or AnyCPU if you already installed UnityDoorstop.
- Build project.
- Copy contents of (Project Directory)/build/(Configuration)_(Platform)/ to the root of the game.
- Attach debugger to the port 56000(default port) in your IDE(Visual Studio/Rider)/Decompiler(dnSpy).
- Set breakpoint whenever you want in the code and do something or wait until game stops on this breakpoint.