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
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...