在Visual Studio 2017中使用远程调试时,Linux控制台的输出在哪里?
问题描述:
我的Visual Studio 2017(VS2017)通过以下代码成功连接到Linux系统:
My Visual Studio 2017 (VS2017) connects to the Linux system successfully with the following code:
#include <cstdio>
int main()
{
printf("hello from ConsoleApplication1!\n");
return 0;
}
但是,当代码执行时,我看不到来自ConsoleApplication1的问候!". VS2017输出窗口中显示错误消息.在哪里可以找到它?
But, when the code executes, I can't see the "hello from ConsoleApplication1!" message in the VS2017 output window. Where can I find it?
答
我终于找到了它:调试菜单:Linux控制台
I find it at last: Debug menu: Linux console