Log to a file for easier debugging.
Log to a file for easier debugging.