debug option for widget