Node Js Mongodb Atlas Function Inconsistent Behaviour Between Call And Debug Run Stack

Node Js Mongodb Atlas Function Inconsistent Behaviour Between Call And Debug Run Stack