7777ChaitanyaOriginal post
Rank 1: Thread
Hello Friends. I'm currently diving into the Appwrite codebase and I have a question regarding debugging PHP code.
Could you please guide me on the best and most effective methods for debugging PHP code within the Appwrite framework? FYI, I am trying to echo something and couldn't see it in the container logs.
Additionally, I'm curious about the workflow for reflecting code changes. Do I need to restart the Appwrite Docker containers each time I make changes to my code, or does the server automatically reload for every code alteration when using VSCode?
Summary
- Developer is seeking guidance on debugging PHP code within the Appwrite framework.
- They are specifically having trouble using `echo` and not seeing the output in container logs.
- Developer also wants to know if they need to restart Appwrite Docker containers manually after making code changes, or if the server reloads automatically when using VSCode.
**Solution:**
- To effectively debug PHP code in Appwrite, consider using tools like xdebug or `var_dump()` for better visibility.
- Check container logs outside VSCode to see `echo` output.
- When making code alterations, the server does not automatically reload. You need to manually restart