1 dart visual-studio-code flutter vscode-debugger
当我在调试控制台上使用热重载时,它显示“不支持全局评估”。我该如何解决这个问题?
之前我读过这个全球评价,但这对我没有帮助
这是我的问题的图像
"console":"terminal"
在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_application_1",
"request": "launch",
"type": "dart",
"program": "bin/dart_application_1.dart",
"console": "terminal"
}
]
}
Run Code Online (Sandbox Code Playgroud)
更多详细信息请参见此处
归档时间: |
|
查看次数: |
12724 次 |
最近记录: |