return function(dap) dap.adapters.python = { type = "executable", command = "python", args = { "-m", "debugpy.adapter" }, } dap.configurations.python = { { type = "python", request = "launch", name = "Launch file", program = "${file}", pythonPath = "python", } } end