Thanks, Krimier_Dan_Sanz. Your response prompted me to put some more effort to the problem, and I now found the solution that works best for me. I can simply run the mongosh shell in a Visual Studio Code terminal, and it works perfectly.