summaryrefslogtreecommitdiff
path: root/lua/config/python-debug.lua
diff options
context:
space:
mode:
authorYour Name <you@example.com>2024-07-03 17:03:56 +0100
committerYour Name <you@example.com>2024-07-03 17:03:56 +0100
commitc959b2112fb4c82b5bfd410df21706455225bd40 (patch)
tree6774868448d127c2f560827de8e5edbd868a2832 /lua/config/python-debug.lua
minor additionsHEADmaster
Diffstat (limited to 'lua/config/python-debug.lua')
-rw-r--r--lua/config/python-debug.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/config/python-debug.lua b/lua/config/python-debug.lua
new file mode 100644
index 0000000..d264ac1
--- /dev/null
+++ b/lua/config/python-debug.lua
@@ -0,0 +1,6 @@
+lvim.builtin.dap.active = true
+local mason_path = vim.fn.glob(vim.fn.stdpath "data" .. "/mason/")
+pcall(function()
+ require("dap-python").setup(mason_path .. "packages/debugpy/venv/bin/python")
+end)
+