Does anyone know of a way to debug resolver functi...
# prisma-whats-new
n
Does anyone know of a way to debug resolver functions? I’m writing a pretty complex one and having a hard time because I can’t find a way to debug it properly…
i
I just use good ole’ fashion `console.log()`s
n
Where do you find the logs though? 🙂 I’m deploying on graphcool cloud now but I’ll try local if that helps me achieve this 🙂
i
You grab both
I will type it up when I get back home
10 mins
I think it’s ‘gc logs local —tail’
The —tail flag just watches for changes. Completely optional but very useful