Name | Debug |
Related Guide Page | https://guide.denizenscript.com/guides/first-steps/problem-solving.html |
Syntax | debug (<type>) [<message>] (name:<name>) (format:<format>) |
Short Description | Shows a debug message. |
Full Description | Use to quickly output debug information to console.
Outputs plain text debug to the console by default, supporting the 'debug' format type (see Script Formats). Alternatively, specify one of the following debug types: DEBUG: standard hideable debug. HEADER: standard hideable debug inside a header line. FOOTER: a footer line. SPACER: a spacer line. LOG: global output, non-hideable. APPROVAL: "Okay!" output, non-hideable. ERROR: "Error!" output, non-hideable. Supports the 'error' format type, see Script Formats. REPORT: normally used to describe the arguments of a command, requires a name, hideable. EXCEPTION: outputs a full java stacktrace. RECORD: Use message 'start' to start recording, 'submit' to submit a recording, or 'cancel' to cancel a recording. |
Related Tags | <entry[saveName].submitted> returns the submit link (if any).
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | core |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/core/DebugCommand.java#L30 |