Improved the debug logging inside TestRunner.