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

This reverts commit 9b8a393edc.
This commit is contained in:
Folke Lemaitre 2024-06-11 19:13:46 +02:00
parent 7252474624
commit a3547e4b3b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
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 = "127.0.0.1",
host = "localhost",
port = "${port}",
executable = {
command = "codelldb",

View file

@ -104,7 +104,7 @@ return {
port = 5005,
args = {},
projectRoot = vim.fn.getcwd,
hostName = "127.0.0.1",
hostName = "localhost",
timeout = 2000,
},
}

View file

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