Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1276)

Unified Diff: mojo/devtools/common/mojo_debug

Issue 1311333003: Don't spawn debugger.mojo by default in `mojo_run`. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/devtools/common/README.md ('k') | mojo/devtools/common/mojo_run » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/mojo_debug
diff --git a/mojo/devtools/common/mojo_debug b/mojo/devtools/common/mojo_debug
index 31a93de4116eb30751a8e0892643633b982e447d..cc1aa0b060f39f954cf999b6fb3d3cd59700dba3 100755
--- a/mojo/devtools/common/mojo_debug
+++ b/mojo/devtools/common/mojo_debug
@@ -45,7 +45,10 @@ def _send_request(request, payload=None):
else:
return requests.get(url)
except requests.exceptions.ConnectionError:
- print 'Failed to connect to mojo:debugger, make sure the shell is running.'
+ print ('Failed to connect to debugger.mojo. Make sure the shell is running '
+ 'and the app was started with debugger, ie. through '
+ '`mojo_run --debugger APP_URL`')
+
return None
@@ -91,7 +94,7 @@ def _tracing_stop(args):
def _add_tracing_command(subparsers):
"""Sets up the command line parser to manage tracing."""
tracing_parser = subparsers.add_parser('tracing',
- help='trace event profiler')
+ help='tracer (requires debugger.mojo)')
tracing_subparser = tracing_parser.add_subparsers(
help='the command to run')
@@ -115,7 +118,8 @@ def _wm_load(args):
def _add_wm_command(subparsers):
"""Sets up the parser for the 'wm' command."""
- wm_parser = subparsers.add_parser('wm', help='window manager')
+ wm_parser = subparsers.add_parser('wm', help='window manager (requires '
+ 'debugger.mojo)')
wm_subparser = wm_parser.add_subparsers(
help='the command to run')
« no previous file with comments | « mojo/devtools/common/README.md ('k') | mojo/devtools/common/mojo_run » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698