How to debug mod (UMM)

From Nexus Mods Wiki
Revision as of 16:05, 28 June 2022 by Newman55 (talk | contribs) (Created page with "Debugging works only above version 0.24.3 via doorstop. Start a game with the command parameters --doorstop-mono-debug-enabled true. The default debugging address is 127.0.0.1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Debugging works only above version 0.24.3 via doorstop. Start a game with the command 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.