Add ability to print out debug logs.