Fix setup for python debugpy
This commit is contained in:
parent
be989b0247
commit
e356a7f539
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user