Fix setup for python debugpy

This commit is contained in:
Marco 2024-12-29 16:35:58 +01:00
parent be989b0247
commit e356a7f539

View File

@ -1 +1,8 @@
require('dap-python').setup("python") local python = "python"
if vim.env.VIRTUAL_ENV
then
python = vim.env.VIRTUAL_ENV .. "/bin/python"
end
require('dap-python').setup(python)