The Debug module contains all functions necessary to perform debugging related tasks, e.g. checking assertions or logging.
Logging can be sent to a number of different locations:
By default logging is enabled to the flat log file.
The debug module is controlled via extendable commands. Commands are typically put into logical groups. A command can then be executed in a number of ways:
Every group has to respond to the command 'help'.
See also: Debug commands
On startup the debug module tries to open a file called <exe>.dbgcmd - if found then all lines in this module are directly interpreted as commands. If the file is not found then default.dbgcmd is tried instead. This allows for setting up a default environment.