https://developers.cloudflare.com/workers/testing/miniflare/developing/debugger/
Attaching a Debugger ยท Cloudflare Workers docs
You can use regular Node.js tools to debug your Workers. Setting breakpoints, watching values and inspecting the call stack are all examples of things you can...
attaching a debuggercloudflare workersdocs