Logs are not displayed when running supabase functions serve #3006
Description
Describe the bug
I’ve encountered an issue where no logs are output to the console when using the supabase functions serve command. It makes it difficult to debug functions since there is no immediate feedback about what is happening inside the function.
To Reproduce
Steps to reproduce the behavior:
Write a simple function that contains logging (e.g., console.log('test log')).
Run supabase functions serve.
Invoke the function (for example, via curl or through your application).
Observe that no logs appear in the console, even though the function is being executed
Expected behavior
The console should display the logs produced by the function (e.g., console.log, console.error, etc.), making it possible to debug the code.
System information
Rerun the failing command with --create-ticket
flag.
- Version of OS: [Ubuntu 22.04]
- Version of CLI: [v2.2.1]