We are trying to create a new extension for an SMS provider and after days of struggling, we're still not successful, even if a great part of the job is probably done.
We followed the documentation and got a lot of information out of the existing extensions (twilio, clickatel, ring central) and this was already really helpful.
The thing is that we are stuck and we would need logs or error message to better understand what's going on with the code.
How do developers usually work on a (new) extension? Should we use
cv to try out the functions?
\Civi::log()->debug('here is some debugging');or if you really want to understand in detail what is happening use xdebug and an IDE to run through the code stepping through it line by line. I'm not sure
cvwould add much here but you might be able to use it to automate a script that sends an SMS for testing.