'Debug current script'

@Slot()
def debug_file(self):

    self.run_file(debug=True)
    editor = self.get_current_editor()
    if editor.get_breakpoints():
        time.sleep(0.5)
        self.debug_command('continue')
