Comment out debugger agent.
V8 has discarded support for debugger agent, we should reimplement it in atom-shell.
This commit is contained in:
parent
134f8236cc
commit
d4a46fa35f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue