How to set arguments for debugables? #117
-
I'm trying to set the arguments for debugging a binary. I managed it by creating a custom launch.json like: {
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug Rust Project",
"program": "${workspaceFolder}/target/debug/hypershift",
"args": [
"clone",
"-c",
"__adn.hypershift.yml"
],
"cwd": "${workspaceFolder}"
}
]
} Is this the prefer way? My concern is that this configuration could be different than the default the plugin uses, and that I might be missing something. |
Beta Was this translation helpful? Give feedback.
Answered by
mrcjkb
Jan 4, 2024
Replies: 1 comment 1 reply
-
Hey 👋 The default configuration provided by this plugin is very simple; here's the equivalent JSON: {
"name": "Rust debug client",
"type": "lldb",
"request": "launch",
"stopOnEntry": false
} So I think your launch.json should be fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alejandrodnm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 👋
The default configuration provided by this plugin is very simple; here's the equivalent JSON:
So I think your launch.json should be fine.