Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 3ac8db09625b76b67dcaefc59b0901c91c815911..e576e9cb3708e1c096ec52a5ecbdffb7b9bae436 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -810,7 +810,7 @@ void Shell::InstallUtilityScript(Isolate* isolate) { |
#ifdef ENABLE_DEBUGGER_SUPPORT |
// Start the in-process debugger if requested. |
if (i::FLAG_debugger && !i::FLAG_debugger_agent) { |
- v8::Debug::SetDebugEventListener(HandleDebugEvent); |
+ v8::Debug::SetDebugEventListener2(HandleDebugEvent); |
} |
#endif // ENABLE_DEBUGGER_SUPPORT |
} |