wire directly to file, print debug data to console.