@@ -32,6 +32,11 @@ name = "binary"
3232request = "launch"
3333args = { console = "internalConsole", program = "{0}" }
3434
35+[[language.debugger.templates]]
36+name = "attach"
37+request = "attach"
38+args = { console = "internalConsole", pid = "{0}" }
39+
3540[[language]]
3641name = "toml"
3742scope = "source.toml"
@@ -94,6 +99,11 @@ name = "binary"
9499request = "launch"
95100args = { console = "internalConsole", program = "main" }
96101
102+[[language.debugger.templates]]
103+name = "attach"
104+request = "attach"
105+args = { console = "internalConsole", pid = "{0}" }
106+
97107[[language]]
98108name = "cpp"
99109scope = "source.cpp"
@@ -117,6 +127,11 @@ name = "binary"
117127request = "launch"
118128args = { console = "internalConsole", program = "main" }
119129
130+[[language.debugger.templates]]
131+name = "attach"
132+request = "attach"
133+args = { console = "internalConsole", pid = "{0}" }
134+
120135[[language]]
121136name = "go"
122137scope = "source.go"
@@ -152,6 +167,11 @@ name = "test"
152167request = "launch"
153168args = { mode = "test", program = "{0}" }
154169
170+[[language.debugger.templates]]
171+name = "attach"
172+request = "attach"
173+args = { mode = "local", processId = "{0}" }
174+
155175[[language]]
156176name = "javascript"
157177scope = "source.js"