how to debug a function

I'm creating a webhook in Supabase to update a CF Worker KV.
The point is that for every post request I can get the payload data but I cannot get any more info apart that post request is cancelled
  "outcome": "canceled"

I mean, I create conselo.log but this info doesn't show up in the request Real-time Logs.
How can I get debug info in the log?
Was this page helpful?