Improve debugging

This commit is contained in:
2025-09-08 09:19:08 +01:00
parent 2b1d2ed5be
commit d4ecc5aa67
3 changed files with 102 additions and 68 deletions

View File

@@ -121,7 +121,9 @@ return {
dap.adapters.php = {
type = 'executable',
command = 'node',
args = { '/Users/chris/.local/src/vscode-php-debug/out/phpDebug.js' },
args = {
vim.fn.expand '$MASON/packages/php-debug-adapter/extension/out/phpDebug.js',
},
}
dap.configurations.php = {
@@ -160,10 +162,10 @@ return {
},
element_mappings = {
stacks = {
open = "<CR>",
expand = "o",
}
}
open = '<CR>',
expand = 'o',
},
},
}
-- Change breakpoint icons

6
lua/plugins/suda.lua Normal file
View File

@@ -0,0 +1,6 @@
return {
'lambdalisue/vim-suda',
config = function()
vim.g.suda_smart_edit = 1
end,
}