Unlike many games that use a simple tilde (~) key console, Project Zomboid requires a launch argument. For Steam Users: Right-click in your Library. Select Properties . In the General tab, find the Launch Options box. Type -debug and close the window. Launch the game.
For more complex issues, you may need to use advanced debugging techniques: project zomboid debug
Once the game is running, you will notice a on the left side of your screen (near the inventory icons). Turn on DEBUG MODE in Project Zomboid (Enable Cheats) Unlike many games that use a simple tilde