Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories IDEs
Created by Guest
Created on May 23, 2023

Print Logs As They Happen, Not At End of Script

Hi, When I add a `print` line in mongosh, that line is executed as it is reached. For example, if I add it within a loop, it prints for every iteration in a loop. However, in a VS Code Playground, it only prints when the Playground has finished executing. I'd like to request that the VS Code extension allows for `print` troubleshooting anywhere within a Playground as it is executed, not just at the end.