I have been writing a custom joomla 4.x component. It's not working. But rather than getting people here to debug my code I want to know how to set up a proper development environment that will give me either automated tests or failing that a verbose error message on running the code.
This question is very old and was not fully answered:
How to setup a proper extension development environment?
It mentions Docker. Does this help with error logging?
What about Composer?
Can PHP-unit be used for this edition? I seem to recall there was a different preferred unit test package for joomla 3.x.