Remove that line from the JSON file.
Hope this helps other survivors test B42 without frustration.
★★★★★ (helpful for testing/mods)
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.debug=true to a custom .bat file that launches the game, but the JSON method is cleaner.
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)
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.