Some users report adding -Dzomboid.debug=true to a custom .bat file that launches the game, but the JSON method is cleaner.
Hope this helps other survivors test B42 without frustration. how to enable debug mode project zomboid build 42
Debug mode can cause unexpected behavior or crashes in Build 42 – it’s an unstable build. Backup your saves first. Works as of the latest B42 patch. Some users report adding -Dzomboid
Here’s a draft review for enabling debug mode in Project Zomboid Build 42. You can post this on Steam, Reddit, or a forum. How to enable debug mode in Project Zomboid Build 42 (tested & working) Backup your saves first
Remove that line from the JSON file.
If you need debug mode for Build 42 – whether to test mods, spawn items, or recover a bugged save – here’s the method that still works. The old -debug launch option is gone in B42, but there’s a new way.