code: def debug_group_toggled(self):
          
          use_debug = self.use_debug_action.isChecked()
          set_setting('use_debug_analysis', use_debug)
          disable_rounding = self.disable_rounding_action.isChecked()
          set_setting('disable_rounding', disable_rounding)
          if use_debug or disable_rounding:
              self.debug_group_button.setStyleSheet(
                  'QToolButton{ background: rgb(244, 137, 137);}')
          else:
              self.debug_group_button.setStyleSheet('')
docs: Helper to set a color on the debug button to know if it's debugging.
  
          If debug analysis is true or if rounding is disabled, it will be
          orange.