Open janlimpens opened 1 year ago
I just started, as per nvim-dap documentation I added adapter and configuration for it, Perl-LanguageServer already installed as extension to vscode, it is very basic, I hope to improve it, here is my init.vim call plug#begin()
Plug 'mfussenegger/nvim-dap'
call plug#end()
let mapleader = " " " space as leader key
lua << EOF
local dap = require('dap')
dap.adapters.perl = {
type = 'executable',
command = 'node',
args = {'/path to debugger /out/dbgforward.js'}
}
dap.configurations.perl = {
{
type = 'perl',
name = 'Debug',
request = 'launch',
showLog = falsjje,
program = "${file}",
stopOnEntry = true,
reloadModules = true,
args = {arguments for script I am debugging}
}
}
vim.keymap.set('n', '
please, write if you will be able to add nvim-dap-ui
Thanks a lot, this is of great help! I'll update this thread with my findings (if any ;)).
I would be very grateful for instructions or pointers into the right direction.