...and in the options tab for this driver under "INDI Control Panel - KStars" I've enabled Debug and ticked "Driver Debug" under both "Debug Levels" and "Logging Levels". My Connect() function, following the example of focus_simulator.cpp, contains this:
isDebug() is just to know if the user enabled debug or not, it's not much used in current drivers. I'll write a chapter in the developers manual to cover this. It's already documented in the API but not the developers manual.
Here is the
Debugging and Logging
documentation in the Developer's Manual. Please let me know if there is anything else that is not clear or obscure within the manual.