Add debug information in lib/lib.database.