from packer to lazy
This commit is contained in:
@@ -1,23 +1,29 @@
|
||||
-- Initialization
|
||||
local dap = require('dap')
|
||||
-- Debug Adapter Protocol client implementation for Neovim
|
||||
return {
|
||||
'mfussenegger/nvim-dap',
|
||||
enabled = true,
|
||||
lazy = true,
|
||||
config = function()
|
||||
local dap = require('dap')
|
||||
|
||||
-- Installing C, Rust and C++
|
||||
dap.configurations.cpp = {
|
||||
}
|
||||
-- Installing debuggers for C, Rust and C++
|
||||
dap.configurations.cpp = {}
|
||||
|
||||
-- Initializing PHP adapter
|
||||
dap.adapters.php = {
|
||||
type = "executable",
|
||||
command = "node",
|
||||
args = { os.getenv("HOME") .. "/vscode-php-debug/out/phpDebug.js" }
|
||||
}
|
||||
-- Initializing PHP debugger adapter
|
||||
dap.adapters.php = {
|
||||
type = 'executable',
|
||||
command = 'node',
|
||||
args = { os.getenv('HOME') .. '/vscode-php-debug/out/phpDebug.js' }
|
||||
}
|
||||
|
||||
-- Installing PHP
|
||||
dap.configurations.php = {
|
||||
{
|
||||
type = "php",
|
||||
request = "launch",
|
||||
name = "Listen for Xdebug",
|
||||
port = 9003
|
||||
}
|
||||
-- Installing PHP debugger
|
||||
dap.configurations.php = {
|
||||
{
|
||||
type = 'php',
|
||||
request = 'launch',
|
||||
name = 'Listen for Xdebug',
|
||||
port = 9003
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user