More changes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
require('helpers').edit_cf('pd', '/lua/plugins/debug.lua')
|
||||
-- debug.lua
|
||||
--
|
||||
-- Shows how to use the DAP plugin to debug your code.
|
||||
@@ -96,6 +97,26 @@ return {
|
||||
},
|
||||
}
|
||||
|
||||
dap.adapters.php = {
|
||||
type = 'executable',
|
||||
command = 'node',
|
||||
args = { '/Users/chris/.local/src/vscode-php-debug/out/phpDebug.js' },
|
||||
}
|
||||
|
||||
dap.configurations.php = {
|
||||
{
|
||||
type = 'php',
|
||||
request = 'launch',
|
||||
name = 'Listen for XDebug',
|
||||
port = 9003,
|
||||
log = true,
|
||||
pathMappings = {
|
||||
['/var/www/html/'] = vim.fn.getcwd() .. '/',
|
||||
},
|
||||
hostname = '0.0.0.0',
|
||||
},
|
||||
}
|
||||
|
||||
-- Dap UI setup
|
||||
-- For more information, see |:help nvim-dap-ui|
|
||||
dapui.setup {
|
||||
|
||||
Reference in New Issue
Block a user