Index: pkg/dev_compiler/tool/run.js |
diff --git a/pkg/dev_compiler/tool/run.js b/pkg/dev_compiler/tool/run.js |
index cca3aeb94bc9c0360113220e2a016c5bdd61126f..a9c8c3e26c85ddd670e3fb5b9461c437943eabeb 100644 |
--- a/pkg/dev_compiler/tool/run.js |
+++ b/pkg/dev_compiler/tool/run.js |
@@ -53,8 +53,14 @@ function finish(e) { |
} |
} |
-var async_helper = requirejs('async_helper').async_helper; |
+sdk.dart.ignoreWhitelistedErrors(false); |
+sdk.dart.failForWeakModeIsChecks(false); |
sdk._isolate_helper.startRootIsolate(() => {}, []); |
+// Make it easier to debug test failures and required for formatter test that |
+// assumes custom formatters are enabled. |
+sdk._debugger.registerDevtoolsFormatter(); |
+ |
+var async_helper = requirejs('async_helper').async_helper; |
async_helper.asyncTestInitialize(finish); |
var module = requirejs(test); |