Add debug information for mongo