Skip to content

Commit 8bc68e1

Browse files
committed
fix(dap): python_dap_run requires dap module
1 parent 71f6476 commit 8bc68e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/python/dap/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ function PythonDap.python_dap_run()
112112
PythonDap.prepare_debugpy(function(venv)
113113
vim.schedule(function()
114114
local dap_python = require("dap-python")
115+
local dap = require("dap")
115116
dap_python.setup(vim.fs.joinpath(venv.path, "bin", "python3"), {})
116117
local python_state = state.State()
117118
local cwd = vim.fn.getcwd()

0 commit comments

Comments
 (0)