I think my question is simple but may fall outside of the scope of this forum. What is best practices when writing and debugging Craft plugins? Obviously, one way to do so is to create a account on a server, write the code, upload and install it and then trigger the code using twig in a web page. Uggg...
Is there a good (hopefully free, open source) way to write and debug plug in code for Craft, perhaps locally?