Skip to content

Instantly share code, notes, and snippets.

@trevorwhitney
Created October 8, 2024 21:02
Show Gist options
  • Save trevorwhitney/152c616365fa3df34481ca6ccb54c713 to your computer and use it in GitHub Desktop.
Save trevorwhitney/152c616365fa3df34481ca6ccb54c713 to your computer and use it in GitHub Desktop.
dap logs
[ DEBUG ] 2024-10-08T14:38:50Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1229 ] "Starting debug adapter server executable" {
args = { "dap", "-l", "127.0.0.1:51432", "--log", "--log-output=dap,debugger" },
command = "dlv",
detached = true
}
[ DEBUG ] 2024-10-08T14:38:50Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1362 ] "Debug adapter server executable started, listening on 51432"
[ DEBUG ] 2024-10-08T14:38:50Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1366 ] "Connecting to debug adapter" {
executable = {
args = { "dap", "-l", "127.0.0.1:51432", "--log", "--log-output=dap,debugger" },
command = "dlv",
detached = true
},
options = {
initialize_timeout_sec = 20
},
port = 51432,
type = "server"
}
[ DEBUG ] 2024-10-08T14:38:50Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1746 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientID = "neovim",
clientName = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_US.UTF-8",
pathFormat = "path",
supportsProgressReporting = true,
supportsRunInTerminalRequest = true,
supportsStartDebuggingRequest = true,
supportsVariableType = true
},
command = "initialize",
seq = 1,
type = "request"
}
[ DEBUG ] 2024-10-08T14:38:50Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1013 ] 1 {
body = {
supportsClipboardContext = true,
supportsConditionalBreakpoints = true,
supportsConfigurationDoneRequest = true,
supportsDelayedStackTraceLoading = true,
supportsDisassembleRequest = true,
supportsEvaluateForHovers = true,
supportsExceptionInfoRequest = true,
supportsFunctionBreakpoints = true,
supportsInstructionBreakpoints = true,
supportsLogPoints = true,
supportsSetVariable = true,
supportsSteppingGranularity = true
},
command = "initialize",
request_seq = 1,
seq = 0,
success = true,
type = "response"
}
[ DEBUG ] 2024-10-08T14:38:50Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1746 ] "request" {
arguments = {
args = { "-config.file=/Users/twhitney/workspace/loki/cmd/loki/loki-local-config.yaml" },
buildFlags = "",
name = "Debug (Arguments)",
program = "/Users/twhitney/workspace/loki/cmd/loki/main.go",
request = "launch",
type = "go"
},
command = "launch",
seq = 2,
type = "request"
}
[ DEBUG ] 2024-10-08T14:38:59Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1013 ] 1 {
event = "initialized",
seq = 0,
type = "event"
}
[ DEBUG ] 2024-10-08T14:38:59Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1013 ] 1 {
command = "launch",
request_seq = 2,
seq = 0,
success = true,
type = "response"
}
[ DEBUG ] 2024-10-08T14:38:59Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1746 ] "request" {
command = "configurationDone",
seq = 3,
type = "request"
}
[ DEBUG ] 2024-10-08T14:38:59Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1013 ] 1 {
body = {
category = "console",
output = "Type 'dlv help' for list of commands.\n"
},
event = "output",
seq = 0,
type = "event"
}
[ DEBUG ] 2024-10-08T14:38:59Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1013 ] 1 {
command = "configurationDone",
request_seq = 3,
seq = 0,
success = true,
type = "response"
}
[ DEBUG ] 2024-10-08T14:38:59Z-0600 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1013 ] 1 {
body = vim.empty_dict(),
event = "terminated",
seq = 0,
type = "event"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment