@@ -767,6 +767,29 @@ language-server = { command = "zls" }
767indent = { tab-width = 4, unit = " " }
767indent = { tab-width = 4, unit = " " }
768formatter = { command = "zig" , args = ["fmt", "--stdin"] }
768formatter = { command = "zig" , args = ["fmt", "--stdin"] }
773+command = "lldb-vscode"
775+[[language.debugger.templates]]
778+completion = [ { name = "binary", completion = "filename" } ]
779+args = { console = "internalConsole", program = "{0}" }
781+[[language.debugger.templates]]
784+completion = [ "pid" ]
785+args = { console = "internalConsole", pid = "{0}" }
787+[[language.debugger.templates]]
788+name = "gdbserver attach"
790+completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
791+args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
770[[grammar]]
793[[grammar]]
771name = "zig"
794name = "zig"
772source = { git = "https://github.com/maxxnino/tree-sitter-zig", rev = "8d3224c3bd0890fe08358886ebf54fca2ed448a6" }
795source = { git = "https://github.com/maxxnino/tree-sitter-zig", rev = "8d3224c3bd0890fe08358886ebf54fca2ed448a6" }