Add a bunch of debug messages to callback.