首次在win10系统中安装VScode编写python,可以run code,但debug就报错:
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
以上错误是由于win10防火墙拦截了vscode,造成的。按照下图配置防火墙即可。

首次在win10系统中安装VScode编写python,可以run code,但debug就报错:
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
以上错误是由于win10防火墙拦截了vscode,造成的。按照下图配置防火墙即可。
本文标题:vscode编写python程序无法debug
本文链接:https://www.haomeiwen.com/subject/vucgwctx.html
网友评论