Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 35af2649b809c8b2aaed14ee754b95e2589b5be2..546f32d23951aaf889f1d594d12577069aa2b9e3 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -639,6 +639,10 @@ bool RenderProcessHostImpl::Init() { |
if (!renderer_prefix.empty()) |
cmd_line->PrependWrapper(renderer_prefix); |
AppendRendererCommandLine(cmd_line); |
+ |
+ if (browser_command_line.HasSwitch(switches::kWaitForDebuggerRenderer)) |
+ cmd_line->AppendSwitch(switches::kWaitForDebugger); |
Feng Qian
2014/08/27 15:50:46
Where is the code in render process that pauses an
Jaekyun Seok (inactive)
2014/08/27 16:06:13
You can find it at https://cs.corp.google.com/#cla
Feng Qian
2014/08/27 17:52:02
Acknowledged.
|
+ |
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); |
// Spawn the child process asynchronously to avoid blocking the UI thread. |