[英]Debugging Go in VS code
Is it possible to debug Go files on VS code using the Terminal as the I/O feed for the debugging process instead of the Debug Console (like with Nodejs for example)?是否可以使用终端作为调试过程的 I/O 源而不是调试控制台(例如使用 Nodejs)在 VS 代码上调试 Go 文件? A special config on
launch.json
perhaps?启动时的特殊配置
launch.json
也许?
Current behavior:当前行为:
Desired behavior:期望的行为:
"console": "integratedTerminal"
or "console": "externalTerminal"
in your launch.json configuration. "console": "integratedTerminal"
或"console": "externalTerminal"
在您的 launch.json 配置中。
This is a relatively new feature that was added to Go extension v0.31.0 (Jan 2022).这是一个相对较新的功能,已添加到 Go 扩展 v0.31.0(2022 年 1 月)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.