From 6520773c0b336af4d85dfa8fadb59b2866648601 Mon Sep 17 00:00:00 2001 From: SamPosh Date: Thu, 20 Apr 2023 14:56:16 +0530 Subject: [PATCH] added sample for python dap Python is mostly used language . Recently I spent around 2 weeks to figure out working solution. Actually I forked it from Kickstart.nvim. thought of adding this example so that other's need not to spend that much time. --- lua/kickstart/plugins/debug.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 000bcb8f..09bd8ffb 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -32,13 +32,16 @@ return { -- You can provide additional configuration to the handlers, -- see mason-nvim-dap README for more information - handlers = {}, + handlers = { + -- python = require('kickstart.plugins.dap.handler.python'), + }, -- You'll need to check that you have the required things installed -- online, please don't ask me how to install them :) ensure_installed = { -- Update this to ensure that you have the debuggers for the langs you want 'delve', + -- 'python' }, }