We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c942e20 commit 539e83aCopy full SHA for 539e83a
src/node_contextify.cc
@@ -261,7 +261,8 @@ class ContextifyContext {
261
Environment* env = Environment::GetCurrent(args);
262
if (debug_context.IsEmpty()) {
263
// Force-load the debug context.
264
- Debug::GetMirror(args.GetIsolate()->GetCurrentContext(), args[0]);
+ auto dummy_event_listener = [] (const Debug::EventDetails&) {};
265
+ Debug::SetDebugEventListener(args.GetIsolate(), dummy_event_listener);
266
debug_context = Debug::GetDebugContext(args.GetIsolate());
267
CHECK(!debug_context.IsEmpty());
268
// Ensure that the debug context has an Environment assigned in case
0 commit comments