Index: lib/runtime/dart_library.js |
diff --git a/lib/runtime/dart_library.js b/lib/runtime/dart_library.js |
index 223744939e9190cb5cc453bca953af992d60793c..3200ad13527ba0b6394504d02406fd5561ae4230 100644 |
--- a/lib/runtime/dart_library.js |
+++ b/lib/runtime/dart_library.js |
@@ -147,6 +147,11 @@ var dart_library = |
DOMTokenList.prototype.get = function(i) { return this[i]; }; |
HTMLCollection.prototype.get = function(i) { return this[i]; }; |
} |
+ |
+ // This import is only needed for chrome debugging. We should provide an |
+ // option to compile without it. |
+ var devtoolsDebugger = import_('dart/_debugger'); |
+ devtoolsDebugger.registerDevtoolsFormatter(); |
} |
})(dart_library); |