def METHOD_NAME(self):
    with self.wrap_proxy():
        cmd = ["mitmweb" if self.use_mitmweb else "mitmproxy", "-p", str(self.port)]
        if self.extra_arguments:
            cmd.extend(self.extra_arguments)
        subprocess.check_call(cmd)