-
Notifications
You must be signed in to change notification settings - Fork 29
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
- Plans and Build Order
- Settings, debug and logging
- Structure and Life Cycle
- Unit Roles
- Unit Cache
- Running Games
- Converting Sharpy bot from before 2.0 version
- Converting Sharpy KnowledgeBot to SkeletonBot
- Converting Python bot to minimal Sharpy bot
- OLD: Extending Your Existing Bot With Sharpy
- Packaging For Ladders
- Extending Sharpy
- Advanced Build Order tricks
- Machine Learning With Sharpy