fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -104,7 +104,7 @@ return {
|
||||
port = 5005,
|
||||
args = {},
|
||||
projectRoot = vim.fn.getcwd,
|
||||
hostName = "localhost",
|
||||
hostName = "127.0.0.1",
|
||||
timeout = 2000,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ return {
|
||||
if not dap.adapters["pwa-node"] then
|
||||
require("dap").adapters["pwa-node"] = {
|
||||
type = "server",
|
||||
host = "localhost",
|
||||
host = "127.0.0.1",
|
||||
port = "${port}",
|
||||
executable = {
|
||||
command = "node",
|
||||
|
||||
Reference in New Issue
Block a user