add a debug-classvar for better introspection of models and controllers

Signed-off-by: nuss <st9fan@gmail.com>