Dart 2.3 忽略断点 [英] Dart 2.3 ignores breakpoints
问题描述
我正在 Dart 中使用 Webstorm 作为 IDE 开发 Web 应用程序.从 Dart SDK 2.2 升级到 Dart SDK 2.3 后,我注意到我在 Webstorm 中设置的所有断点都被忽略了(尽管该应用程序似乎在 Chrome 中正常运行)断点被正确标记为红色圆圈",但与之前的 SDK 不同,它们错过了里面的勾号"(我认为这意味着 Chrome 无法识别它们).
I am developing a web app in Dart using Webstorm as IDE. After upgrading from Dart SDK 2.2 to Dart SDK 2.3 I noticed that all breakpoints I set in Webstorm are ignored (although the app seems to run properly in Chrome) That breakpoints are correctly marked as a "red circle" but unlike the previous SDK they miss the "tick" inside (which I think means they are not recognized by Chrome).
我尝试修复缓存"和升级依赖项",但断点仍然不起作用.
I tried to "repair cache" and "upgrade dependencies" but breakpoints still don't work.
那是 pubspec.yaml dev_dependencies:
That's the pubspec.yaml dev_dependencies:
dev_dependencies:
build_runner: ^1.4.0
build_test: ^0.10.7+3
build_web_compilers: ^2.1.0
这是webdev serve"命令:
Here is the "webdev serve" command:
/dart/2.3.1/dart-sdk/bin/pub global run webdev serve web:53321
这是webdev serve"命令结果:
Here is the "webdev serve" command result:
[INFO] Serving `web` on http://localhost:53321
[INFO] Running build completed, took 351ms
[INFO] Caching finalized dependency graph completed, took 177ms
[INFO] Succeeded after 536ms with 0 outputs (0 actions)
这里涉及软件的版本:
- O.S.: macOS High Sierra 10.13.6
- Chrome: 74.0.3729.169
- Webstorm: 2019.1 - Build 191.7141.49
- Dart SDK: 2.3.1
- Dart webdev: 2.0.5
我正在尝试确定问题是否与 Webstorm、Dart SDK 或 Chrome 有关.我不排除由于 Dart SDK 升级而错过了一些新配置.降级回 Dart SDK 2.2 一切正常.谢谢你的提示.
I'm trying to figure out if the issue is related to Webstorm, Dart SDK or Chrome. I don't exclude that I miss some new configuration due to the Dart SDK upgrade. Downgrading back to Dart SDK 2.2 everything works fine. Thank you for your hints.
推荐答案
转载,记录为 WEB-39095.请关注更新
Reproduced, logged as WEB-39095. Please follow it for updates
这篇关于Dart 2.3 忽略断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!