string
? debug_flags, bool
colour_enabled)
Create or return the singleton Debug
class instance. If the instance doesn't exist already, it will be created with the
given set of debug domains enabled. Otherwise, the existing instance will have its set of enabled domains changed to the provided set.
debug_flags | A comma-separated list of debug domains to enable, or null to disable debug output |
colour_enabled | Whether debug output should be coloured using terminal escape sequences |
Singleton Debug instance |
0.5.1