kts.DebugPrint – print a string to the console
result = kts.DebugPrint(message)
This function takes one parameter which should be a string. The string will be printed to the game process's 'stdout'.
On Windows, if the process does not have a 'stdout' (e.g. because it was launched directly from the Start menu) then a new console window will be opened, and the message will appear there.
This is useful for printing debug messages or other strings that you don't want to appear in the actual in-game "Messages" window.
No value is returned.
Ideally this function would allow multiple parameters to be passed (just like the built-in Lua print
function).