Index: sky/tools/debugger/prompt/prompt.cc |
diff --git a/sky/tools/debugger/prompt/prompt.cc b/sky/tools/debugger/prompt/prompt.cc |
index 3b486045e6d9de4f6cb56057d794b72005721b1e..d411c82618f058ba524ac245a14879794f66cb95 100644 |
--- a/sky/tools/debugger/prompt/prompt.cc |
+++ b/sky/tools/debugger/prompt/prompt.cc |
@@ -45,13 +45,17 @@ class Prompt : public mojo::ApplicationDelegate { |
app->ConnectToService("mojo:sky_viewer", &tracing_); |
if (app->args().size() > 1) |
url_ = app->args()[1]; |
+ else { |
+ url_ = "https://raw.githubusercontent.com/domokit/mojo/master/sky/" |
+ "examples/home.sky"; |
+ } |
Hixie
2014/10/23 21:55:23
why curlies?
|
} |
virtual bool ConfigureIncomingConnection( |
mojo::ApplicationConnection* connection) override { |
connection->ConnectToService(&debugger_); |
- if (!url_.empty()) |
- Reload(); |
+ std::cout << "Loading " << url_ << std::endl; |
+ Reload(); |
ScheduleWaitForInput(); |
return true; |
} |