Index: mojo/devtools/common/README.md |
diff --git a/mojo/devtools/common/README.md b/mojo/devtools/common/README.md |
index 4536ea528ba26458ab1fc1eeb219bdc4ef685668..5022548081b0ee00ca4b84a2cc505dc19d47affb 100644 |
--- a/mojo/devtools/common/README.md |
+++ b/mojo/devtools/common/README.md |
@@ -103,6 +103,10 @@ after changing threads), use the `current` option: |
(gdb) update-symbols current |
``` |
+If you want to debug the startup of your application, you can pass |
+`--wait-for-debugger` to `mojo_run` to have the Mojo Shell stop and wait to be |
+attached by `gdb` before continuing. |
+ |
#### Android crash stacks |
When Mojo shell crashes on Android ("Unfortunately, Mojo shell has stopped.") |
due to a crash in native code, `mojo_debug` can be used to find and symbolize |