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 (!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
}
}