fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577

This commit is contained in:
Folke Lemaitre
2024-06-11 06:55:16 +02:00
parent 14d47f650c
commit 9b8a393edc
3 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ return {
if not dap.adapters["codelldb"] then
require("dap").adapters["codelldb"] = {
type = "server",
host = "localhost",
host = "127.0.0.1",
port = "${port}",
executable = {
command = "codelldb",