Been toying around with Vercel for deployment and really like the simplicity. Maybe I am not seeing something here, but how can I get visibility into a function without piping to a third-party?
I've got this pages/api/hello.js
-api
export default (req, res) => {
console.log("yolo");
res.statusCode = 200;
res.json({ name: "John Doe" });
};
I can then see the following results in the dashboard. But where or how could I see the yolo
and I missing something here? Is there a different way for proper debugging?
Have created the same setup here:
https://github.com/timothyclifford/offsets/blob/master/pages/api/hello.js
Pushed this to Vercel and can see the console logs being printed out correctly: