Enable debug logging from test code.