Prints output to the Debug window.
Syntax
Debug_Print print-list
where print-list is zero or more items. Each item is either a string or a numeric expression separated by commas. If the command ends in a comma, the text is concatenated with the text from the next Print command (the message window equivalent of not doing a newline at the end of the line). For more information, see the Print Command topic.
Example
'Print plane's altitude to the Debug window.
DEBUG_PRINT PLANE_ALT