Use the global IConsole object for debugging here.