blob: b927ca6100c841ec2f69b814d60626f4d7ec2337 (
plain) (
tree)
|
|
local dap = require('dap')
local python_venv = require('utils').get_python_venv()
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_venv .. '/bin/python';
},
}
-- require("dapui").setup{}
|