How to write to a debug console in VB6?

console, debugging, vb6

Solution

Use debug.print. But there is no console on a VB6 application, that will print to the debug window.

Problem

I am new to VB. I want to test some old VB code, but I need the ability to print to the console to be able to test certain values that are set in the code. How to print to the console from VB?

Original source