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.
Remove that line from the JSON file.
Some users report adding -Dzomboid.debug=true to a custom .bat file that launches the game, but the JSON method is cleaner.
★★★★★ (helpful for testing/mods)