mongo api debug