From 3e22b93772fa9f2c8af40e135dffa783c74cd82e Mon Sep 17 00:00:00 2001 From: SamPosh Date: Thu, 20 Apr 2023 14:25:06 +0530 Subject: [PATCH] Update debug.lua --- lua/kickstart/plugins/debug.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index cee8a3fc..a0968b1b 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -41,10 +41,9 @@ return { --[[ handlers = { python = function() - local PYTHON_DIR = require("mason-registry").get_package("debugpy"):get_install_path() .. "/venv/Scripts/python" dap.adapters.python = { type = "executable", - command = PYTHON_DIR, -- use "which python" command and provide the python path + command = "/usr/local/bin/python", -- use "which python" command and provide the python path args = { "-m", "debugpy.adapter", @@ -145,7 +144,8 @@ return { request = 'launch', name = 'My custom launch configuration', program = '${file}', - cwd = vim.fn.getcwd() + cwd = vim.fn.getcwd(), + console= "integratedTerminal", }) end,