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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...