Comment out debugger agent.

V8 has discarded support for debugger agent, we should reimplement it in
atom-shell.
This commit is contained in:
Cheng Zhao 2014-09-01 15:35:56 +08:00
parent 134f8236cc
commit d4a46fa35f

View file

@ -44,10 +44,12 @@ NodeDebugger::NodeDebugger() {
if (use_debug_agent) { if (use_debug_agent) {
if (!port_str.empty()) if (!port_str.empty())
base::StringToInt(port_str, &port); base::StringToInt(port_str, &port);
#if 0
v8::Debug::EnableAgent("atom-shell " ATOM_VERSION, port, v8::Debug::EnableAgent("atom-shell " ATOM_VERSION, port,
wait_for_connection); wait_for_connection);
v8::Debug::SetDebugMessageDispatchHandler(DispatchDebugMessagesInMsgThread, v8::Debug::SetDebugMessageDispatchHandler(DispatchDebugMessagesInMsgThread,
false); false);
#endif
} }
} }