Connect mojo:debugger to window_manager only when requested.
This patch makes mojo:debugger automatically connect to window_manager only when run by skydb, so that running the debugger for tracing and profiling doesn't bring the side-effect of spawning window_manager. Note that we might in the future change this to make the connection to window_manager lazy when load() or reload() is requested, but this would require a more involved change to skydb. The way taken in this patch doesn't change the skydb codepath while enabling usage of debugger for interactive tracing / profiling. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1157253007
Showing
想要评论请 注册 或 登录