Add some debug logs.