summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-24 17:04:14 +0000
committerDmitry Sharshakov2021-08-24 17:04:14 +0000
commitb001008a698881991d14f28c6f8980c7d83ce385 (patch)
treea31b2ab8d72c99502fd74de8e90e4001946a0126 /languages.toml
parent31212e133dd00900fc1da6eeff97c6691212d789 (diff)
Support templates in debug configurations
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 416aa802..291202c1 100644
--- a/languages.toml
+++ b/languages.toml
@@ -30,7 +30,7 @@ port-arg = "-p {}"
[[language.debugger.templates]]
name = "binary"
request = "launch"
-args = { console = "internalConsole", program = "target/debug/rustdebug" }
+args = { console = "internalConsole", program = "{0}" }
[[language]]
name = "toml"
@@ -150,7 +150,7 @@ args = { mode = "exec", program = "./main" }
[[language.debugger.templates]]
name = "test"
request = "launch"
-args = { mode = "test", program = "." }
+args = { mode = "test", program = "{0}" }
[[language]]
name = "javascript"