Remove our own debugger implementation
Previously it was used because Node doesn't provide one for latest V8.
This commit is contained in:
parent
88a1c7973c
commit
1d148fe2fb
6 changed files with 7 additions and 275 deletions
|
@ -129,8 +129,7 @@ void NodeBindings::Initialize() {
|
|||
node::g_upstream_node_mode = false;
|
||||
|
||||
// Init node.
|
||||
// (we assume it would not node::Init would not modify the parameters under
|
||||
// embedded mode).
|
||||
// (we assume node::Init would not modify the parameters under embedded mode).
|
||||
node::Init(nullptr, nullptr, nullptr, nullptr);
|
||||
}
|
||||
|
||||
|
@ -166,7 +165,13 @@ node::Environment* NodeBindings::CreateEnvironment(
|
|||
}
|
||||
|
||||
void NodeBindings::LoadEnvironment(node::Environment* env) {
|
||||
if (node::use_debug_agent)
|
||||
node::StartDebug(env, node::debug_wait_connect);
|
||||
|
||||
node::LoadEnvironment(env);
|
||||
|
||||
if (node::use_debug_agent)
|
||||
node::EnableDebug(env);
|
||||
}
|
||||
|
||||
void NodeBindings::PrepareMessageLoop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue