json - “找不到类型‘dart’的调试适配器。”
问题描述
我正在尝试在 vs 代码中调试飞镖脚本。
下面是我的launch.json -
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "todoapp",
"request": "launch",
"type": "dart"
}
]
} ```
解决方案
转到扩展视图 (⇧⌘X) 并搜索Dart
扩展。尝试卸载并重新安装 Dart 扩展,然后重新启动 VS 代码,看看它是否有效。
如果仍然无法正常工作,请安装旧版本的 Dart 并再次尝试。
推荐阅读
- assembly - 带有地址或寄存器的表,汇编器 x86
- c++ - 如何在 C++ 调试器中获取 stl::list 迭代器值
- python - 如何使用 python 在 x0AA 等终端上显示十六进制数据
- php - codeigniter 在标题上显示图像
- json - 创建服务 POST spring 框架
- c# - Dapper:如何加载虚拟属性?
- scala - 如何在 Scala 中编写一个获取任意类的方法
- python - 使用 drop() 方法从 pandas DataFrame 中删除列
- slack - Slack:计算每天/每周的消息数
- winapi - SetTimer 与 CWnd::SetTimer