cloudflare / chanfana

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
https://chanfana.pages.dev
MIT License
301 stars 40 forks source link

Debugging doesn't work #117

Open paullocsin opened 8 months ago

paullocsin commented 8 months ago

Debug via breakpoints doesn't seem to be working properly with async handle or execute.

    async execute(request: Request) {
        const response = await doSomething(request);
        return response;
    }

Setting a breakpoint at const response = await doSomething(request); will pause but the response is returned (using Postman) and I can't step over to the next line.

Seems like this needs an async/await (maybe?)