Hello,
I’m testing my edge functions locally and I’ve put in a few console.log
statements to check the value of certain variables at specific points.
I recall console.log
statements used to show up in my VS Code’s terminal window after running netlify.dev
but nothing is showing up anymore (I’m currently on version 17.15.1).
Even when the I place the console.log
statement right at the top of the edge function and I hit the route directly (in other words, it’s definitely being run), no logging output is shown in my integrated terminal in VS Code.
How can I console.log
variables locally so I can check the value of things running in my edge functions?
Thank you very much for your time!
PS. After I couldn’t figure out how to get console.log
output to appear in my terminal, I tried to set up debugging - but I also failed at that and I created a new issue here.