summaryrefslogtreecommitdiff
path: root/src/node_worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_worker.cc')
-rw-r--r--src/node_worker.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node_worker.cc b/src/node_worker.cc
index e99ac59c01..65d3b7297c 100644
--- a/src/node_worker.cc
+++ b/src/node_worker.cc
@@ -37,7 +37,10 @@ Mutex next_thread_id_mutex;
#if NODE_USE_V8_PLATFORM && HAVE_INSPECTOR
void StartWorkerInspector(Environment* child, const std::string& url) {
- child->inspector_agent()->Start(url, nullptr, false);
+ child->inspector_agent()->Start(url,
+ child->options()->debug_options(),
+ child->inspector_host_port(),
+ false);
}
void AddWorkerInspector(Environment* parent,