def _setup_debugger(self): from vulkan.debugger import Debugger if not self.debug: self.debugger = None return self.debugger = Debugger(self.api, self.instance) self.debugger.start() self.debug_ui = DebugUI(self)
def create_debugger(): global debugger # Debug report setup debugger = Debugger(api, instance) debugger.start()