Skip to content

why launch and debug with cmake tools? #3989

Answered by bobbrow
florenso asked this question in Q&A
Discussion options

You must be logged in to vote

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 the cmake.debugConfig setting. That object supports any of the properties that the launch.json configuration would. For example:

"cmake.debugConfig": {
  "args": [ "arg1", "arg2" ]
}

If you want to hide the buttons, use this setting:

"cmake.options.advanced": {
  "launch": {
    "statusBarVisibility": "hidden"
  },
  "debug": {
    "statusBarVisibility": "hidden"
  }
}

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@bobbrow
Comment options

@florenso
Comment options

@bobbrow
Comment options

@florenso
Comment options

@bobbrow
Comment options

Answer selected by florenso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants