def METHOD_NAME(self, layout):
    # Create the Label
    label = QtWidgets.QLabel()
    label.setText('Debugger outpuit:')
    # Create the output area.
    self.output_area = w = QtWidgets.QTextEdit()
    w.setStyleSheet('background: white; color: black;')
    w.setHorizontalScrollBarPolicy(ScrollBarPolicy.ScrollBarAsNeeded)
    w.setWordWrapMode(WrapMode.NoWrap)
    # Add the widgets to a new layout.
    vlayout = QtWidgets.QVBoxLayout()
    vlayout.addWidget(label)
    vlayout.addWidget(w)
    layout.addLayout(vlayout)