-
I added some args to my launch.json. When i launch or debug my application the arguments sometimes missing... why would you want to launch an application with cmake? it is just a build tool in my eyes. your launch.json could be an output of your cmake, but why would cmake tools launch of debug the application? and why cant i disable the quick launch/debug feature? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
The quick debug exists for simple cases where you just need to launch a build target and don't need or want to configure a whole "cmake.debugConfig": {
"args": [ "arg1", "arg2" ]
} If you want to hide the buttons, use this setting: "cmake.options.advanced": {
"launch": {
"statusBarVisibility": "hidden"
},
"debug": {
"statusBarVisibility": "hidden"
}
}
|
Beta Was this translation helpful? Give feedback.
The quick debug exists for simple cases where you just need to launch a build target and don't need or want to configure a whole
launch.json
file. You can customize the behavior for quick launch with thecmake.debugConfig
setting. That object supports any of the properties that thelaunch.json
configuration would. For example:If you want to hide the buttons, use this setting: