In the process of developing Function with VSCode, how can we test whether the function logic of this method is correct in VSCode? Can it only be tested by Appwrite after deployment?
i highly recommend deploying to an appwrite instance and testing it in there incrementally as you develop. it would be difficult to troubleshoot if your function worked outside of Appwrite and then failed inside appwrite
In this case, it will slow down the development progress very much. From my point of view
i understand the frustration and we have plans to improve this.
you can use open runtimes to develop locally, but, again, i don't recommend this because it will be difficult to troubleshoot if it doesn't work when you finally deploy in appwrite
Here are some instructions if you want to run open runtimes locally: https://github.com/open-runtimes/open-runtimes/blob/main/runtimes/dart-3.1/README.md
Recommended threads
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...
- AttributeError: 'Context' object has no ...
I'm getting an error executing my function. I'm not able to replicate this locally since I have to use a mock context. Is there a way to debug this kind of erro...
- SyntaxError: The requested module 'node-...
I am trying to use appwrite functions and in the function i am creating rows but i got this error when i executed the funtion. As i checked docs there TablesDB...