使用dart的angular2教程实际上从来没有使用过真正的服务器,总是使用pub server。在使用pub build --mode=debug进行构建后,Ok。dart源在chrome dev工具中可用(它为我的所有dart文件显示"source my from main.dart.js“。断点不会停止。
我正在尝试在Windows10上构建angular2,但是在启动!build.js.cjs之后构建就冻结了。Dart SDK is not available, Dart tasks will be skipped.[11:30:21] Starting 'build/clean.tools'...
[11:30:21] Start
我一直在使用Angular2 IDEA (2016.3.5)和最新的Dart插件玩IntelliJ,我只是不知道错误、异常、断言失败等是在哪里结束的。我正在使用DART_FLAGS="--checked"运行Dartium,据我所知,pub serve似乎默认为调试模式。Dart2js也被配置为在检查模式下运行,分析服务器也被配置为强模式。当没有错误时,Angular2Dart应用程序在Dartium中运行得很好,但是如果我在代码中添加了一个断言,