Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 989a2155874c1073fc0fba0239844ddeac19fc3a..ba2e45d82e0ab5123b2233ace002d3811803a16d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -19739,6 +19739,9 @@ bool Module::Instantiate(Handle<Module> module, v8::Local<v8::Context> context, |
} |
Handle<Module> requested_module = Utils::OpenHandle(*api_requested_module); |
module->requested_modules()->set(i, *requested_module); |
+ if (isolate->debug()->is_active()) { |
+ isolate->debug()->OnModuleResolved(module, requested_module, specifier); |
+ } |
if (!Instantiate(requested_module, context, callback)) { |
return false; |
} |