From: Cheng Zhao Date: Mon, 1 Sep 2014 07:35:56 +0000 (+0800) Subject: Comment out debugger agent. X-Git-Tag: v0.16.0~8^2~10 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d4a46fa35fc4e9d3d09856f7f5968006910b53c0;p=electron.git Comment out debugger agent. V8 has discarded support for debugger agent, we should reimplement it in atom-shell. --- diff --git a/atom/browser/node_debugger.cc b/atom/browser/node_debugger.cc index f66a2d06..0e7d58b1 100644 --- a/atom/browser/node_debugger.cc +++ b/atom/browser/node_debugger.cc @@ -44,10 +44,12 @@ NodeDebugger::NodeDebugger() { if (use_debug_agent) { if (!port_str.empty()) base::StringToInt(port_str, &port); +#if 0 v8::Debug::EnableAgent("atom-shell " ATOM_VERSION, port, wait_for_connection); v8::Debug::SetDebugMessageDispatchHandler(DispatchDebugMessagesInMsgThread, false); +#endif } }