{ "<leader>dPt", function() require('dap-python').test_method() end, desc = "Debug Method", ft = "python" },
{ "<leader>dPc", function() require('dap-python').test_class() end, desc = "Debug Class", ft = "python" },
},
- config = function()
- local path = require("mason-registry").get_package("debugpy"):get_install_path()
- require("dap-python").setup(path .. "/venv/bin/python")
- end,
- },
- },
- { "jay-babu/mason-nvim-dap.nvim",
- opts = {
- handlers = {
- python = function() end,
- },
- ensure_installed = { "python" },
},
},
{ "linux-cultist/venv-selector.nvim", enabled = false,