Closed daniel-sc closed 2 months ago
cc @nyannyacha as it seems related to the edge runtime upgrade to 1.56.1 https://github.com/supabase/cli/releases/tag/v1.191.1
I'll take a look
It doesn't look like the inspector is causing panic for all user scripts.
Hello @daniel-sc 😁 Can you provide some reproducible code?
@nyannyacha the following function reproduces this:
import "jsr:@supabase/functions-js/edge-runtime.d.ts";
import { XmlDocument } from "npm:xmldoc@~1.3.0";
Deno.serve(async (req) => {
console.log("Request received");
const doc = new XmlDocument("requestBody");
return new Response("done");
});
Describe the bug Using v1.191.3 the debugging of functions fails on Windows. See error below. This is/was working with v1.191.0.
To Reproduce Steps to reproduce the behavior:
npx supabase@latest functions serve --inspect-mode brk
Expected behavior It should not fail and debugging should be possible.
Screenshots
System information Rerun the failing command with
--create-ticket
flag. => This does give the same output as without the--create-ticket
flag!Additional context If applicable, add any other context about the problem here.