The Debug class provides features related to KiriKiri debugging. You cannot create objects from this class.
The KiriKiri console log is named krkr.console.log. Also, the file created when a hardware exception occurs is hwexcept.log.
By default, these log files are located in the project directory. However, they will not be output if the project directory is read-only, such as when it is inside an archive.
The log file output destination can be changed with the logLocation property (in KAG, it is set to the save data location).