diff --git a/src/wpt/run.zig b/src/wpt/run.zig index 4322ee40..1dc8797f 100644 --- a/src/wpt/run.zig +++ b/src/wpt/run.zig @@ -96,6 +96,9 @@ pub fn run(arena: *std.heap.ArenaAllocator, comptime dir: []const u8, f: []const \\console.log = function () { \\ console.push(...arguments); \\}; + \\console.debug = function () { + \\ console.push("debug", ...arguments); + \\}; ; res = try evalJS(js_env, alloc, init, "init"); if (!res.success) {