Skip to content

Settings, debug and logging

DrInfy edited this page Dec 5, 2020 · 3 revisions

In sharpy, the config.ini allows many settings and debugging features.

You should keep your release configuration file in config.ini because that is bundled with the publish command, but you can overwrite the settings for local debugging int config-local.ini. To overwrite local settings and run matches in release mode use run_custom.py --release.

Here's how to enable debugging. general.debug is the master flag that turns off/on all on-screen debugging and should always be no for the release config.ini.

[general]
debug = yes

[debug]
# List of components that have on screen debug enabled
ComponentName = yes
ComponentNoDebug = no

[debug_log]
# List of components that should be printed into debug log. If the tag is missing, default is yes/true.
ComponentName = yes
ComponentNoLog = no
Clone this wiki locally