]> khamidou — GitHub mirrors - electron.git/commitdiff
Comment out debugger agent.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 1 Sep 2014 07:35:56 +0000 (15:35 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 1 Sep 2014 07:35:56 +0000 (15:35 +0800)
V8 has discarded support for debugger agent, we should reimplement it in
atom-shell.

atom/browser/node_debugger.cc

index f66a2d063896de1bb8f8352ee26b671f66434d6b..0e7d58b1dd4992b93f8852c286fd0a9300ccc7c6 100644 (file)
@@ -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
   }
 }