Bing found the following results
OutputDebugStringA function (debugapi.h) - Win32 apps
Simplest way to write output message to 'output window' in Visual ...
Communicating with the Debugger - Win32 apps | Microsoft Learn
How do I print to the debug output window in a Win32 app?
Sending Output to the Debugger - Windows drivers
How to write to the Output window in Visual Studio?
Understanding Win32 "OutputDebugString" - Unixwiz.net
c# - OutputDebugString / System.Diagnostics.Debug.WriteLine …
Mechanism of OutputDebugString - CodeProject
Is there a better way to pass formatted output to OutputDebugString?