Added DAP for godot, will need to add it for clang as well.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user