Index: sky/HACKING.md |
diff --git a/sky/HACKING.md b/sky/HACKING.md |
index 46a96b94c93d212678a0538acb1a2659af4d3cdc..de70d7d47d0cc88d6feededcee7e226921003bf1 100644 |
--- a/sky/HACKING.md |
+++ b/sky/HACKING.md |
@@ -60,3 +60,22 @@ We recommend using the [Dart |
``test``](https://pub.dartlang.org/packages/test) testing framework. |
See [``sky/tests/raw/color_bounds.dart``](tests/raw/color_bounds.dart) |
for an example. |
+ |
+Debugging Sky |
+------------- |
+ |
+This document aims to explain how to debug Sky itself. |
+ |
+=== C++ |
+ |
+Launch a debug Sky build on Linux as follows (where `app.dart` is the |
+test you are running and trying to debug): |
+ |
+```bash |
+mojodb start --gdb out/Debug app.dart |
eseidel
2015/06/22 21:28:18
These are soon to be deprecated instructions, care
|
+mojodb gdb_attach |
+``` |
+ |
+=== Dart |
+ |
+Use Observatory. |