Debugging Remix server-side 500s
After pushing a change to a Remix app to Pages + Functions, I'm getting
500
errors in the browser, but Cloudflare Pages Functions logs show "successful" requests. How do I get the underlying error?
1 Reply
The underlying error turned out to be caused by accessing an undefined environment variable in a
loader
. Not yet sure why there wasn't a better error with stack trace.