How to debug mod (UMM)

From Nexus Mods Wiki
Jump to: navigation, search

Debugging works only above version 0.24.3 via doorstop.
Start a game with the command line parameters --doorstop-mono-debug-enabled true. The default debugging address is 127.0.0.1:10000.
Open dnSpy, open the assembly file *.cache.dll from the mods folder, it should be compiled in debug mode. Start debugging and select unity connection, enter port 10000.