为什么vs代码在启动dart控制台应用程序时会暂停?
我正在学习Dart并使用linux上的vs代码作为我的IDE。每次我运行/调试dart应用程序时,它都会在启动过程中暂停。如果我停止并重新启动,它最终会运行,但这需要相当长的时间。我配置错了什么 这是我的vs代码信息:为什么vs代码在启动dart控制台应用程序时会暂停?,dart,visual-studio-code,vscode-settings,Dart,Visual Studio Code,Vscode Settings,我正在学习Dart并使用linux上的vs代码作为我的IDE。每次我运行/调试dart应用程序时,它都会在启动过程中暂停。如果我停止并重新启动,它最终会运行,但这需要相当长的时间。我配置错了什么 这是我的vs代码信息: Version: 1.48.2 Commit: a0479759d6e9ea56afa657e454193f72aef85bd0 Date: 2020-08-25T10:56:10.074Z Electron: 7.3.2 Chrome: 78.0.3904.130 Node.j
Version: 1.48.2
Commit: a0479759d6e9ea56afa657e454193f72aef85bd0
Date: 2020-08-25T10:56:10.074Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 4.19.0-9-amd64
我对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": "Dart",
"program": "sandbox-one.dart",
"request": "launch",
"type": "dart"
}
],
"dart.sdkPath": "/home/davis/progs/flutter/bin/dart"
// I added the comma and dart.sdkPath. This did not fix it.
}
单击启动按钮时,底部会出现一个红色状态栏。通知列表框显示“正在启动…”。顶部显示“代码”进程正在运行。我试图更新IDE,但它是最新的
请尝试运行Dart:Capture Debugging Logs命令,再现问题,然后单击日志通知上的“取消”以收集正在发生的情况的日志文件。