feat: dap-go

This commit is contained in:
ralvescosta 2025-03-16 20:02:20 -03:00
parent d729bec926
commit 7d37624530
1 changed files with 29 additions and 29 deletions

View File

@ -1,31 +1,31 @@
return { return {
-- { {
-- 'leoluz/nvim-dap-go', 'leoluz/nvim-dap-go',
-- ft = 'go', ft = 'go',
-- dependencies = { dependencies = {
-- 'mfussenegger/nvim-dap', 'mfussenegger/nvim-dap',
-- }, },
-- config = function(_, _) config = function(_, _)
-- require('dap-go').setup { require('dap-go').setup {
-- dap_configurations = { dap_configurations = {
-- { {
-- type = 'go', type = 'go',
-- name = 'Debug with dynamic args', name = 'Debug with dynamic args',
-- request = 'launch', request = 'launch',
-- program = '${workspaceFolder}/main.go', program = '${workspaceFolder}/main.go',
-- outputMode = 'remote', outputMode = 'remote',
-- args = require('dap-go').get_arguments, args = require('dap-go').get_arguments,
-- env = { env = {
-- GOPRIVATE = 'bitbucket.org/asappay', GOPRIVATE = 'bitbucket.org/asappay',
-- ENVIRONMENT = 'dev', ENVIRONMENT = 'dev',
-- SERVICE_NAME = 'go-acquirer-local-service', SERVICE_NAME = 'go-acquirer-local-service',
-- OTEL_EXPORTER_OTLP_ENDPOINT = 'localhost:4317', OTEL_EXPORTER_OTLP_ENDPOINT = 'localhost:4317',
-- AWSPROFILE = 'asappay-dev', AWSPROFILE = 'asappay-dev',
-- SOME_VAR = 'value', SOME_VAR = 'value',
-- }, },
-- }, },
-- }, },
-- } }
-- end, end,
-- }, },
} }