我在Flutter开发IDE中使用VSCode。直到今天下午都运作良好。当我运行该项目时,出现了Could not find an option named "web-server-debug-protocol"
。我不知道出了什么问题。
我用谷歌搜索“web-server-debug-protocol”,只发现两个链接表明它存在于flutter_command.dart中。
有人遇到过类似的问题吗?有什么建议吗?
谢谢!
更新
我通过升级Flutter解决了这个问题。
最佳答案
回声。
我在VS Code中重新安装了Flutter扩展,它正常工作。
好 flutter 的生活!
关于flutter - 通过VSCode运行Flutter项目时找不到名为 “web-server-debug-protocol”的选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61703097/