aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bun.js/javascript.zig1
-rw-r--r--src/bun_js.zig2
-rw-r--r--src/cli/test_command.zig2
-rw-r--r--src/js_ast.zig2
4 files changed, 4 insertions, 3 deletions
diff --git a/src/bun.js/javascript.zig b/src/bun.js/javascript.zig
index 88f4b0e06..cacac0213 100644
--- a/src/bun.js/javascript.zig
+++ b/src/bun.js/javascript.zig
@@ -820,6 +820,7 @@ pub const VirtualMachine = struct {
&global_classes,
@intCast(i32, global_classes.len),
vm.console,
+ .none,
);
vm.regular_event_loop.global = vm.global;
vm.regular_event_loop.virtual_machine = vm;
diff --git a/src/bun_js.zig b/src/bun_js.zig
index 16b086731..d7a88e4af 100644
--- a/src/bun_js.zig
+++ b/src/bun_js.zig
@@ -150,7 +150,7 @@ pub const Run = struct {
.{
.log = ctx.log,
.store_fd = ctx.debug.hot_reload != .none,
- .inspector = ctx.debug.inspect_break != .none,
+ .inspector = ctx.debug.inspector,
.env_loader = null,
},
),
diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig
index 912558837..b9acc40cf 100644
--- a/src/cli/test_command.zig
+++ b/src/cli/test_command.zig
@@ -476,7 +476,7 @@ pub const TestCommand = struct {
// in the future we should investigate if refactoring this to not
// rely on the dir fd yields a performance improvement
true,
- .inspector = if (ctx.debug.inspect_break) .breakpoint else .none,
+ .inspector = ctx.debug.inspector,
},
);
vm.argv = ctx.passthrough;
diff --git a/src/js_ast.zig b/src/js_ast.zig
index 2f91b44a0..52e58e074 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -9600,7 +9600,7 @@ pub const Macro = struct {
.existing_bundle = null,
.store_fd = false,
.inspector = .none,
- .env = env,
+ .env_loader = env,
});
_vm.enableMacroMode();