Added DAP for godot, will need to add it for clang as well.

This commit is contained in:
2026-06-26 21:21:43 -07:00
parent 82ef6e8679
commit f56deabf9b
2 changed files with 26 additions and 3 deletions
+16
View File
@@ -95,3 +95,19 @@ if is_godot_project and not is_server_running then
vim.fn.serverstart(godot_project_path .. '/server.pipe')
end
local dap = require('dap')
dap.adapters.godot = {
type = "server",
host = "127.0.0.1",
port = 6006,
}
dap.configurations.gdscript = {
{
type = "godot",
request = "launch",
name = "Launch Scene",
project = "${workspaceFolder}",
scene = "main"
}
}