aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/dap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/dap.lua')
-rw-r--r--lua/alpha/dap.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/lua/alpha/dap.lua b/lua/alpha/dap.lua
index 8e747db..0776ba7 100644
--- a/lua/alpha/dap.lua
+++ b/lua/alpha/dap.lua
@@ -38,15 +38,11 @@ vim.fn.sign_define("DapLogPoint", { text = "💬", texthl = "", linehl = "", num
-- vim.cmd("au FileType dap-repl lua require('dap.ext.autocompl').attach()")
--- TODO replace with mason for check if installed and get the path
--- the binary does not work
-local php_debug_adapter = vim.fn.stdpath("data") .. "/mason/packages/php-debug-adapter/extension/out/phpDebug.js"
-
dap.adapters.php = {
type = "executable",
- command = "node",
- args = { php_debug_adapter },
+ command = "php-debug-adapter",
}
+
dap.configurations.php = {
{
type = "php",