I've tried many tutorial videos to setup nvim-dap but everyone set it up using a different method which doesn't work for me. I am new to neovim. I setup most of the stuff like lsp and so but can't setup DAP for python debugging.lua - under configs local function setup_dap() local dap = require("dap") local dapui = require("dapui") vim.keymap.set('n', '<Leader>dc', function() dap.continue() end) vim.keymap.set('n', '<Leader>dt', function() dap.toggle_breakpoint() end) dap.listeners.before.attach.dapui_config = function() dapui.open() end dap.listeners.before.launch.dapui_config = function() dapui.open() end dap.listeners.before.event_terminated.dapui_config = function() dapui.close() end dap.listeners.before.event_exited.dapui_config = function() dapui.close() end end return setup_dap { "mfussenegger/nvim-dap", dependencies = { "rcarriga/nvim-dap-ui" }, config = function () end, }, { "mfussenegger/nvim-dap-python", ft = "python", dependencies = { "mfussenegger/nvim-dap", "rcarriga/nvim-dap-ui", }, config = function(_, opts) local path = "~/.local/share/nvim/mason/packages/debugby/venv/bin/python" require("dap-python").setup(path) end, }, I don't know what i am missing. I tried using AI but it only getting worse Continue reading...