Im creating functions and test it via ececute button on the frontend. Is there a way to test the function before deployment. How I can see the console logs? Im using vscode
I suggest deploying to appwrite and running it in appwrite to make sure it works as you develop
If you really don't want to do that, you can try to spin up an open runtimes container. See https://github.com/open-runtimes/open-runtimes/tree/main/runtimes/node-18.0
Hi, I want a nodejs cloud function to run a command (flutter build web) on a docker container with flutter installed on it. I cant make it work on appwrite for now.This feature very much depends on the underlying stack so making it work on another runtime outside appwrite will not help me much. Is there a way to attach vscode debugger to the nodejs runtime used by appwrite so I can debug step by step ( like on the firebase emulator) ? I am supposing that the nodejs cloud function code is run inside the appwrite-worker-functions container, but I might be wrong.
Please create a new post instead of posting in an old post
Okay.
Recommended threads
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...