def METHOD_NAME(self):
    """Create the Debug tab in the Log pane."""
    c = self.c
    layout = QtWidgets.QVBoxLayout(self)
    self.create_buttons(layout)
    self.create_input_area(layout)
    if c.config.getBool('use-xdb-pane-output-area', default=True):
        self.create_output_area(layout)
    else:
        self.output_area = None
    layout.addStretch()
    self.setLayout(layout)