debugger with convex functions
is there a way to run npx convex dev with debugger to trigger breakpoints?
4 Replies
Not exactly, but if you write some tests with
convex-test
(https://docs.convex.dev/testing/convex-test) you can use the vitest debugger to stop at breakpoints in your functions (https://docs.convex.dev/testing/convex-test#debugging-tests)convex-test | Convex Developer Hub
The convex-test library provides a mock implementation of the Convex backend
well about tests i know but thats not very usefull
It sounds like you want an interactive debugger, which right now you can only get in a test. Can you say more about what you're trying to debug more that can't be set up in a test?
well to debug values on convex backend currently need ot use logging. would be easier if there would be debugger for breakpoints to track value changes