2023-01-13 18:56:03 +00:00
|
|
|
# The run config is used for both run mode and debug mode
|
|
|
|
|
|
|
|
[[configs]]
|
2023-01-13 20:33:41 +00:00
|
|
|
# the name of this task
|
|
|
|
name = "task"
|
2023-01-13 18:56:03 +00:00
|
|
|
|
2023-10-23 21:52:33 +00:00
|
|
|
# the type of the debugger. If not set, it can't be debugged but can still be run
|
|
|
|
# type = "lldb"
|
|
|
|
|
2023-01-13 18:56:03 +00:00
|
|
|
# the program to run
|
|
|
|
program = ""
|
|
|
|
|
2023-10-20 21:12:31 +00:00
|
|
|
# the program arguments, e.g. args = ["arg1", "arg2"], optional
|
|
|
|
# args = []
|
2023-01-13 18:56:03 +00:00
|
|
|
|
|
|
|
# current working directory, optional
|
2023-01-13 20:33:41 +00:00
|
|
|
# cwd = "${workspace}"
|
2023-06-05 18:19:56 +00:00
|
|
|
|
2024-03-03 13:42:19 +00:00
|
|
|
# environment variables, optional
|
2023-06-05 18:19:56 +00:00
|
|
|
# [configs.env]
|
|
|
|
# VAR1 = "VAL1"
|
|
|
|
# VAR2 = "VAL2"
|
2023-09-13 20:56:42 +00:00
|
|
|
|
|
|
|
# task to run before the run/debug session is started, optional
|
2023-10-20 21:12:31 +00:00
|
|
|
# [configs.prelaunch]
|
|
|
|
# program = "cargo"
|
|
|
|
# args = [
|
|
|
|
# "build",
|
|
|
|
# ]
|