basic python debugging

This commit is contained in:
Chris 2021-07-05 00:52:36 -04:00
parent 4bbf4c290a
commit af5d292fbf
3 changed files with 36 additions and 30 deletions

View file

@ -253,7 +253,11 @@ return require("packer").startup(function(use)
-- Debugging
use {
"mfussenegger/nvim-dap",
event = "BufRead",
config = function()
require('dap')
vim.fn.sign_define('DapBreakpoint', {text='🛑', texthl='', linehl='', numhl=''})
require('dap').defaults.fallback.terminal_win_cmd = '50vsplit new'
end,
disable = not O.plugin.debug.active,
}
-- Better quickfix
@ -404,7 +408,7 @@ return require("packer").startup(function(use)
-- Debugger management
use {
"Pocco81/DAPInstall.nvim",
event = "BufRead",
-- event = "BufRead",
disable = not O.plugin.dap_install.active,
}