Project

General

Profile

Debug » History » Version 4

Per Amundsen, 01/22/2015 01:39 AM

1 1 Per Amundsen
_Added in 1.5_
2
3 2 Per Amundsen
*/debug [-ceinpt] [N] [on | off | @window | filename] [identifier]*
4 1 Per Amundsen
5 2 Per Amundsen
Outputs raw server messages, both incoming and outgoing, to a debug.log file, or a custom @window.
6 1 Per Amundsen
7 2 Per Amundsen
If a custom window is defined, and it doesn't exist, a window will be created.
8
9 4 Per Amundsen
If no filename or custom window is defined, default filename of "debug.log" will be used.
10
11 2 Per Amundsen
*Switches*
12
13
-c - Closes the associated custom window. (used with off)
14
-e - Adds extended debug information.
15
-i - Calls the specified identifier before a debug line is logged. The return value of the identifier is used as the debug line.
16
-n - Minimizes the custom window, if a new one is created.
17
-p - TODO
18
-t - Adds timestamp to the debug line.
19 3 Per Amundsen
20
*Parameters*
21
22
N - Line color to use in the custom window.
23
on | off - Turns debugging on or off.
24
@window | filename - Custom window or filename to log to.
25
identifier - Identifier to parse a line, used with -i.