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.
3
votes
![](https://secure.gravatar.com/avatar/7c089fe308f4044f1b27963ee78e9cc3?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)