For those not familiar to this sort of thing, think of the Debug log like your own private 'in program notepad'. Use this to write messages to yourself during program execution. For example, you could write the graphic modes that the user has on his system, or just little alerts to let you know your code execution made it to a certain point in the execution without interrupting it. I'm sure you'll find a lot of uses for this! See the example if you're still lost.
See also: Stop.
; DebugLog Example
; Let's start graphics mode
; Now, let's load an image that doesn't exist!
If gfxPlayer=0 Then
DebugLog "Player's Graphics failed to load!"
; This is supposed to generate an error. Press F9 to see the log!
While Not KeyHit(1)
Blitz3D Manual Forum
BlitzPlus Equivalent Command