Add debugging print method to the database.