You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get the DAP configuration down for attaching a debugger to an application running within a docker container, which has a PFWD for the debug ports to my local host.
I've configured DAP as following: local dap = require("dap") dap.configurations.scala = { { type = "scala", request = "attach", buildTarget= "main", name = "attach to service", hostName = "localhost", port = 15011, }, }
Just to note, that this is how it's configured to me in VSCode without issues. I'm probably missing a small detail, couldn't put my finger on it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to get the DAP configuration down for attaching a debugger to an application running within a docker container, which has a PFWD for the debug ports to my local host.
I've configured DAP as following:
local dap = require("dap") dap.configurations.scala = { { type = "scala", request = "attach", buildTarget= "main", name = "attach to service", hostName = "localhost", port = 15011, }, }
Just to note, that this is how it's configured to me in VSCode without issues. I'm probably missing a small detail, couldn't put my finger on it.
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions