I've been learning about my new Hubitat environment for some time now, and I'd like to explore it further by creating applications and drivers. However, I find that there's a serious lack of a step-by-step debugging tool. Has the product development team been working on this, or have they considered creating an API to integrate it into another IDE like MS Visual Studio? This would be a big step towards the future and could further propel the Hubitat hub.
I know that many people are concerned about such an addition for having read several topics on this subject.
Have you read this topic?
As to step-by-step debugging, no, it's not supported. Debugging is done by inserting:
log.debug "show me a variable: $variable"
at the important places in the code.
Having issue installing Hubitat pluging.
C:\Users\Curiosity\Desktop>java -jar HubitatIntelliJPlugin.jar
Error: Could not find or load main class PostCodeAction
Caused by: java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/AnAction
Win11 X64
java version "24" 2025-03-18
Java(TM) SE Runtime Environment (build 24+36-3646)
Java HotSpot(TM) 64-Bit Server VM (build 24+36-3646, mixed mode, sharing)
IntelliJ IDEA 2024.3.5 (Community Edition)
Build #IC-243.26053.27, built on March 16, 2025
Runtime version: 21.0.6+8-b631.39 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
ide.experimental.ui=true
llm.show.ai.promotion.window.on.start=false
Kotlin: 243.26053.27-IJ