How to debug intents?

Poor mans debuging is to insert a lot of log calls (self.log.info or debug) and then watch the log for those.
You could also enable remote debug adaptor and connect to that from your IDE - I made a skill that helps dooing that

It works from VSCode or the THEIA IDE which I also made a skil for