Visual Studio Debuger无法正常工作 [英] Visual Studio Debuger doesn't work properly

查看:96
本文介绍了Visual Studio Debuger无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿!我的Visual Studio代码,调试器/终端有问题。任何错误都只显示在代码窗口中;不是在终端或问题记者,你能解释一下为什么吗?

这里,在终端,错误应该显示,对吗? 

https://cdn.discordapp.com/attachments/325040223467601922/558056648980168745/unknown.png

https://cdn.discordapp.com/attachments/325040223467601922/558056648980168745/unknown.png

推荐答案

嗨Binimo,

欢迎光临MSDN论坛。

请查看此doc:
Visual Studio Code中的Python调试配置,我们可以配置
console 属性在配置文件' lanuch.json'中指定程序输出的显示方式:

Please check this doc: Python debug configurations in Visual Studio Code and we can configure the console property in the configuration file ‘lanuch.json’ to specify how program output is displayed:

价值

Value

显示输出的位置

Where output is displayed

" none"

VS代码调试控制台

" integratedTerminal"  (默认)

VS代码集成
终端

" externalTerminal"

单独的控制台窗口

由于这个问题是关于VS Code的,我们的论坛是讨论VS IDE,如果我的建议没有解决你的问题,请转到这个适当的论坛:
https://stackoverflow.com/questions/tagged/visual-studio-code

为了获得更好的支持,感谢您的理解。

最好的问候,

Sara  


这篇关于Visual Studio Debuger无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆