aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 291202c1..83d45e34 100644
--- a/languages.toml
+++ b/languages.toml
@@ -32,6 +32,11 @@ name = "binary"
request = "launch"
args = { console = "internalConsole", program = "{0}" }
+[[language.debugger.templates]]
+name = "attach"
+request = "attach"
+args = { console = "internalConsole", pid = "{0}" }
+
[[language]]
name = "toml"
scope = "source.toml"
@@ -94,6 +99,11 @@ name = "binary"
request = "launch"
args = { console = "internalConsole", program = "main" }
+[[language.debugger.templates]]
+name = "attach"
+request = "attach"
+args = { console = "internalConsole", pid = "{0}" }
+
[[language]]
name = "cpp"
scope = "source.cpp"
@@ -117,6 +127,11 @@ name = "binary"
request = "launch"
args = { console = "internalConsole", program = "main" }
+[[language.debugger.templates]]
+name = "attach"
+request = "attach"
+args = { console = "internalConsole", pid = "{0}" }
+
[[language]]
name = "go"
scope = "source.go"
@@ -152,6 +167,11 @@ name = "test"
request = "launch"
args = { mode = "test", program = "{0}" }
+[[language.debugger.templates]]
+name = "attach"
+request = "attach"
+args = { mode = "local", processId = "{0}" }
+
[[language]]
name = "javascript"
scope = "source.js"