Skip to content

Debugmode

xDreamLand edited this page Dec 18, 2021 · 3 revisions

dr-scratching has a debugmode which basically gives you a bunch more information to locate any issues. If you find any issues, please report them by the way!

How to enable debugmode?

Simple, head over to your server.cfg, not the config.lua. Add the following line:

setr dr-scratching-debugMode 1

if you changed the repository name just change the dr-scratching into your repository name, so for example

setr scratchcards-debugMode 1

The debugmode is now enabled! You will see most logs in your server terminal, and the scratching card progress in the client terminal.

Don't use debugmode in production

Debugmode may cause some slight performance issues as it (literally) spams the client console with progress of the canvas. Logs in general cause some performance issues, so try to keep it to a minimum!

Clone this wiki locally