windows - 调试控制台不显示任何输出
问题描述
我开始上 Python 基础课程并尝试使用 Vscode 运行一些初始代码。观看课程视频后,我注意到我在 DEBUG CONSOLE 下看不到任何输出。我确实在 TERMINAL 部分下得到了输出。另外,我注意到调试图标与视频中的图标不同(我的有一个播放箭头)。
我错过了什么吗?
我的蟒蛇
C:\Users\andres>py --version
Python 3.8.3
我目前的 launch.json 是
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"cwd": "",
"console": "integratedTerminal"
}
]
}
谢谢
解决方案
感谢@tHeSiD 的初步建议。对于 winerror123,我删除并重新创建了 json 文件
推荐阅读
- c++ - 您可以通过 char* 访问任何对象的对象表示吗?
- synthesis - Yosys 中的加法/减法优化
- matrix - 是否有一种优化的方法来计算 Eigen++ 中对称“A”的“x^TA x”?
- java - 在指定时间段过后获取下一个有效日期并相应调整月份中的日期
- file-upload - Nestjs - 使用 fastify multipart 上传文件
- sql - 使用 SQLalchemy 的元数据显示具有不同模式的所有表
- flutter - Flutter:动态文本字段显示相同的值?
- google-sheets - 为我的 INDEX MATCH 公式替代 IFNA
- c# - 在服务器端 Blazor 中验证页面参数
- apache-kafka - Kafka Broker - KDC - Kafka 客户端和 Kerberos 身份验证