如图所示,在debug菜单中点击齿轮按钮,进入launch.json,更改console选项的值(有三种)
vs code 编译python 输出到调试控制台
原文:https://www.cnblogs.com/FlyDangerFox/p/11622967.html