summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 087185729..3e245d331 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -161,7 +161,11 @@ impl MainWorker {
});
if let Some(server) = options.maybe_inspector_server.clone() {
- server.register_inspector(main_module.to_string(), &mut js_runtime);
+ server.register_inspector(
+ main_module.to_string(),
+ &mut js_runtime,
+ options.should_break_on_first_statement,
+ );
}
Self {