Python install path will be determined auto
This commit is contained in:
parent
2d5130db44
commit
3600b6516d
|
@ -1,8 +1,9 @@
|
|||
local dap = require('dap')
|
||||
return function()
|
||||
local python_install_path = vim.fn.exepath('python')
|
||||
dap.adapters.python = {
|
||||
type = "executable",
|
||||
command = "/usr/local/bin/python", -- use "which python" command and provide the python path
|
||||
command = python_install_path, -- use "which python" command and provide the python path
|
||||
args = {
|
||||
"-m",
|
||||
"debugpy.adapter",
|
||||
|
|
Loading…
Reference in New Issue