简体   繁体   English

如何在 Visual Studio Code 中显示“console.log”output?

[英]How to display 'console.log' output in Visual Studio Code?

How do I see this message in Visual Studio Code as JS?如何在 Visual Studio Code as JS 中看到此消息?

let count = 0

console.log(count)

After saving the changes in the file press Ctrl + f5 than it will ask you to select environment, then select node and it will give you the answer in your Debug Console.保存文件中的更改后,按Ctrl + f5比它会要求您进入 select 环境,然后是 select 节点,它会在您的调试控制台中为您提供答案。

To open the Debug Console press Ctrl+Shift+y .要打开调试控制台,请按Ctrl+Shift+y

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM